@@ -35,7 +35,7 @@ |
||
35 | 35 | } |
36 | 36 | } |
37 | 37 | |
38 | -require_once( INJI_SYSTEM_DIR . '/init.php' ); |
|
38 | +require_once(INJI_SYSTEM_DIR . '/init.php'); |
|
39 | 39 | /** |
40 | 40 | * System error messages |
41 | 41 | */ |
@@ -1035,7 +1035,7 @@ |
||
1035 | 1035 | } else { |
1036 | 1036 | $cols .= '*'; |
1037 | 1037 | } |
1038 | - $cols .=') as `count`' . (!empty($options['cols']) ? ',' . $options['cols'] : ''); |
|
1038 | + $cols .= ') as `count`' . (!empty($options['cols']) ? ',' . $options['cols'] : ''); |
|
1039 | 1039 | App::$cur->db->cols = $cols; |
1040 | 1040 | if (!empty($options['group'])) { |
1041 | 1041 | App::$cur->db->group($options['group']); |
@@ -39,7 +39,7 @@ |
||
39 | 39 | static $forms = [ |
40 | 40 | 'manager' => [ |
41 | 41 | 'map' => [ |
42 | - ['price', 'currency_id',], |
|
42 | + ['price', 'currency_id', ], |
|
43 | 43 | ['item_offer_price_type_id', 'item_offer_id'] |
44 | 44 | ] |
45 | 45 | ]]; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | |
26 | 26 | function parseColsForModel($cols = []) |
27 | 27 | { |
28 | - $modelCols = [ 'labels' => [], 'cols' => [], 'relations' => []]; |
|
28 | + $modelCols = ['labels' => [], 'cols' => [], 'relations' => []]; |
|
29 | 29 | foreach ($cols as $col) { |
30 | 30 | $modelCols['labels'][$col['code']] = $col['label']; |
31 | 31 | $colType = !empty($col['type']['primary']) ? $col['type']['primary'] : $col['type']; |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | 'role_id' => ['type' => 'select', 'source' => 'relation', 'relation' => 'role'], |
38 | 38 | 'admin_text' => ['type' => 'html'], |
39 | 39 | 'activation' => ['type' => 'text'], |
40 | - 'blocked' => ['type' => 'bool',], |
|
40 | + 'blocked' => ['type' => 'bool', ], |
|
41 | 41 | 'date_last_active' => ['type' => 'dateTime'], |
42 | 42 | 'date_create' => ['type' => 'dateTime'] |
43 | 43 | ]; |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | ] |
101 | 101 | ], |
102 | 102 | 'map' => [ |
103 | - ['login', 'mail',], |
|
103 | + ['login', 'mail', ], |
|
104 | 104 | ['group_id', 'role_id'], |
105 | 105 | ['userSearch', 'blocked'], |
106 | 106 | ['pass'], |
@@ -45,7 +45,7 @@ |
||
45 | 45 | static $forms = [ |
46 | 46 | 'manager' => [ |
47 | 47 | 'map' => [ |
48 | - ['code', 'type',], |
|
48 | + ['code', 'type', ], |
|
49 | 49 | ['user_id'], |
50 | 50 | ['limit', 'count'], |
51 | 51 | ] |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -return function ($step = NULL, $params = []) { |
|
3 | +return function($step = NULL, $params = []) { |
|
4 | 4 | |
5 | 5 | $groups = [ |
6 | 6 | [ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -return function ($step = NULL, $params = []) { |
|
3 | +return function($step = NULL, $params = []) { |
|
4 | 4 | |
5 | 5 | $groups = [ |
6 | 6 | [ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -return function ($step = NULL, $params = []) { |
|
3 | +return function($step = NULL, $params = []) { |
|
4 | 4 | |
5 | 5 | $groups = [ |
6 | 6 | [ |