@@ -280,7 +280,7 @@ |
||
280 | 280 | $tags = []; |
281 | 281 | foreach (explode(\Vtiger_Multipicklist_UIType::SEPARATOR, $value) as $tag) { |
282 | 282 | if (isset($all[$tag])) { |
283 | - $tags[] = ['id' => $all[$tag], 'name' => $tag]; |
|
283 | + $tags[] = ['id' => $all[$tag], 'name' => $tag]; |
|
284 | 284 | } |
285 | 285 | } |
286 | 286 | return $tags; |
@@ -93,7 +93,7 @@ |
||
93 | 93 | { |
94 | 94 | $dbCommand = \App\Db::getInstance()->createCommand(); |
95 | 95 | if (false !== $name) { |
96 | - $data = ['name' => "{$type}_last_scan_{$name}", 'value' => $id]; |
|
96 | + $data = ['name' => "{$type}_last_scan_{$name}", 'value' => $id]; |
|
97 | 97 | } else { |
98 | 98 | $data = ['name' => $type . '_start_scan_date', 'value' => date('Y-m-d H:i:s')]; |
99 | 99 | } |
@@ -85,7 +85,7 @@ |
||
85 | 85 | public function getAddSupportedFieldTypes() |
86 | 86 | { |
87 | 87 | return [ |
88 | - 'Text', 'Decimal', 'Integer', 'Currency', 'Percent', 'AdvPercentage', 'Date', 'Time', 'DateTime', 'RangeTime', 'Phone', 'Email', 'MultiEmail', 'MultiDomain', 'Picklist', 'MultiSelectCombo', 'MultipicklistTags', 'Country', 'URL', 'Checkbox', 'TextArea', 'Related1M', 'MultiReference', 'Editor', 'Tree', 'CategoryMultipicklist', 'Image', 'MultiImage', 'MultiAttachment', 'MultiReferenceValue', 'ServerAccess', 'Skype', 'Twitter', 'Token', 'Smtp', 'MapCoordinates', 'Group', |
|
88 | + 'Text', 'Decimal', 'Integer', 'Currency', 'Percent', 'AdvPercentage', 'Date', 'Time', 'DateTime', 'RangeTime', 'Phone', 'Email', 'MultiEmail', 'MultiDomain', 'Picklist', 'MultiSelectCombo', 'MultipicklistTags', 'Country', 'URL', 'Checkbox', 'TextArea', 'Related1M', 'MultiReference', 'Editor', 'Tree', 'CategoryMultipicklist', 'Image', 'MultiImage', 'MultiAttachment', 'MultiReferenceValue', 'ServerAccess', 'Skype', 'Twitter', 'Token', 'Smtp', 'MapCoordinates', 'Group', |
|
89 | 89 | ]; |
90 | 90 | } |
91 | 91 |
@@ -98,7 +98,7 @@ |
||
98 | 98 | break; |
99 | 99 | case 'members': |
100 | 100 | foreach ($value as $memberTypeId) { |
101 | - [$type, $memberId] = explode(':', $memberTypeId); |
|
101 | + [$type, $memberId] = explode(':', $memberTypeId); |
|
102 | 102 | switch ($type) { |
103 | 103 | case 'Users': |
104 | 104 | $users[] = (int) $memberId; |