Changeset View
Changeset View
Standalone View
Standalone View
modules/in-commerce/units/orders/orders_tag_processor.php
Show First 20 Lines • Show All 899 Lines • ▼ Show 20 Line(s) | |||||
); | ); | ||||
return $this->Application->HREF($params['edit_template'], '', $url_params); | return $this->Application->HREF($params['edit_template'], '', $url_params); | ||||
} | } | ||||
} | } | ||||
function UserFound($params) | function UserFound($params) | ||||
{ | { | ||||
$virtual_users = Array(USER_ROOT, USER_GUEST, 0); | $virtual_users = Array(USER_ROOT, USER_GUEST, USER_SYSTEM, 0); | ||||
Lint: Generic.PHP.LowerCaseKeyword.Found: PHP keywords must be lowercase; expected "array" but found "Array" | |||||
$object = $this->getObject($params); | $object = $this->getObject($params); | ||||
return !in_array( $object->GetDBField( $params['user_field'] ) , $virtual_users ); | return !in_array( $object->GetDBField( $params['user_field'] ) , $virtual_users ); | ||||
} | } | ||||
/** | /** | ||||
* Returns a link for editing order | * Returns a link for editing order | ||||
* | * | ||||
* @param Array $params | * @param Array $params | ||||
▲ Show 20 Lines • Show All 776 Lines • Show Last 20 Lines |
PHP keywords must be lowercase; expected "array" but found "Array"