Passed
Pull Request — developer (#15788)
by Arkadiusz
19:31
created
app/Cache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
 		if (static::$clearOpcache) {
192 192
 			return false;
193 193
 		}
194
-		register_shutdown_function(function () {
194
+		register_shutdown_function(function() {
195 195
 			try {
196 196
 				static::resetOpcache();
197 197
 			} catch (\Throwable $e) {
Please login to merge, or discard this patch.
app/Utils/Benchmarks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
 				'time' => (int) ($readOperations / (microtime(true) - $timeStart)),
194 194
 			];
195 195
 		}
196
-		register_shutdown_function(function () {
196
+		register_shutdown_function(function() {
197 197
 			try {
198 198
 				\vtlib\Functions::recurseDelete('cache/speed');
199 199
 			} catch (\Throwable $e) {
Please login to merge, or discard this patch.
app/Module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 	{
77 77
 		$entity = static::getEntitiesInfo();
78 78
 		if ($sort) {
79
-			usort($entity, function ($a, $b) {
79
+			usort($entity, function($a, $b) {
80 80
 				return $a['sequence'] < $b['sequence'] ? -1 : 1;
81 81
 			});
82 82
 		}
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
 			Log::error("The file $filename does not exist");
285 285
 		}
286 286
 		static::initFromDb();
287
-		register_shutdown_function(function () {
287
+		register_shutdown_function(function() {
288 288
 			try {
289 289
 				YetiForce\Shop::generateCache();
290 290
 			} catch (\Throwable $e) {
Please login to merge, or discard this patch.
modules/OSSMail/models/Record.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
 					->execute();
179 179
 			}
180 180
 			\App\Log::trace('Exit OSSMail_Record_Model::imapConnect() method ...');
181
-			register_shutdown_function(function () use ($mbox, $user) {
181
+			register_shutdown_function(function() use ($mbox, $user) {
182 182
 				try {
183 183
 					\App\Log::beginProfile('OSSMail_Record_Model|imap_close|' . $user, 'Mail|IMAP');
184 184
 					imap_close($mbox);
Please login to merge, or discard this patch.
app/Field.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -21,43 +21,43 @@
 block discarded – undo
21 21
 	const SYSTEM_FIELDS = [
22 22
 		'assigned_user_id' => [
23 23
 			'validationConditions' => ['name'],
24
-			'name' => 'assigned_user_id',	'column' => 'smownerid',	'label' => 'Assigned To',	'table' => 'vtiger_crmentity',
25
-			'uitype' => 53,	'typeofdata' => 'V~M',	'maximumlength' => 65535,
24
+			'name' => 'assigned_user_id', 'column' => 'smownerid', 'label' => 'Assigned To', 'table' => 'vtiger_crmentity',
25
+			'uitype' => 53, 'typeofdata' => 'V~M', 'maximumlength' => 65535,
26 26
 		],
27 27
 		'createdtime' => [
28 28
 			'validationConditions' => ['name'],
29
-			'name' => 'createdtime',	'column' => 'createdtime',	'label' => 'Created Time',	'table' => 'vtiger_crmentity',
30
-			'uitype' => 70,	'typeofdata' => 'DT~O',	'displaytype' => 2,	'maximumlength' => 65535,
29
+			'name' => 'createdtime', 'column' => 'createdtime', 'label' => 'Created Time', 'table' => 'vtiger_crmentity',
30
+			'uitype' => 70, 'typeofdata' => 'DT~O', 'displaytype' => 2, 'maximumlength' => 65535,
31 31
 		],
32 32
 		'modifiedtime' => [
33 33
 			'validationConditions' => ['name'],
34
-			'name' => 'modifiedtime',	'column' => 'modifiedtime',	'label' => 'Modified Time',	'table' => 'vtiger_crmentity',
35
-			'uitype' => 70,	'typeofdata' => 'DT~O',	'displaytype' => 2,	'maximumlength' => 65535,
34
+			'name' => 'modifiedtime', 'column' => 'modifiedtime', 'label' => 'Modified Time', 'table' => 'vtiger_crmentity',
35
+			'uitype' => 70, 'typeofdata' => 'DT~O', 'displaytype' => 2, 'maximumlength' => 65535,
36 36
 		],
37 37
 		'created_user_id' => [
38 38
 			'validationConditions' => ['column'],
39
-			'name' => 'created_user_id',	'column' => 'smcreatorid',	'label' => 'Created By',	'table' => 'vtiger_crmentity',
40
-			'uitype' => 52,	'typeofdata' => 'V~O',	'displaytype' => 2,	'quickcreate' => 3, 'masseditable' => 0, 'maximumlength' => 65535,
39
+			'name' => 'created_user_id', 'column' => 'smcreatorid', 'label' => 'Created By', 'table' => 'vtiger_crmentity',
40
+			'uitype' => 52, 'typeofdata' => 'V~O', 'displaytype' => 2, 'quickcreate' => 3, 'masseditable' => 0, 'maximumlength' => 65535,
41 41
 		],
42 42
 		'modifiedby' => [
43 43
 			'validationConditions' => ['name'],
44
-			'name' => 'modifiedby',	'column' => 'modifiedby',	'label' => 'Last Modified By',	'table' => 'vtiger_crmentity',
45
-			'uitype' => 52,	'typeofdata' => 'V~O',	'displaytype' => 2,	'quickcreate' => 3, 'masseditable' => 0, 'maximumlength' => 65535,
44
+			'name' => 'modifiedby', 'column' => 'modifiedby', 'label' => 'Last Modified By', 'table' => 'vtiger_crmentity',
45
+			'uitype' => 52, 'typeofdata' => 'V~O', 'displaytype' => 2, 'quickcreate' => 3, 'masseditable' => 0, 'maximumlength' => 65535,
46 46
 		],
47 47
 		'shownerid' => [
48 48
 			'validationConditions' => ['name'],
49
-			'name' => 'shownerid',	'column' => 'shownerid',	'label' => 'Share with users',	'table' => 'vtiger_crmentity',
50
-			'uitype' => 120,	'typeofdata' => 'V~O',	'columntype' => 'int(11)', 'maximumlength' => 65535,
49
+			'name' => 'shownerid', 'column' => 'shownerid', 'label' => 'Share with users', 'table' => 'vtiger_crmentity',
50
+			'uitype' => 120, 'typeofdata' => 'V~O', 'columntype' => 'int(11)', 'maximumlength' => 65535,
51 51
 		],
52 52
 		'private' => [
53 53
 			'validationConditions' => ['name'],
54
-			'name' => 'private',	'column' => 'private',	'label' => 'FL_IS_PRIVATE',	'table' => 'vtiger_crmentity',
55
-			'uitype' => 56,	'typeofdata' => 'C~O',	'columntype' => 'int(11)', 'maximumlength' => '-128,127', 'presence' => 2, 'generatedtype' => 2,
54
+			'name' => 'private', 'column' => 'private', 'label' => 'FL_IS_PRIVATE', 'table' => 'vtiger_crmentity',
55
+			'uitype' => 56, 'typeofdata' => 'C~O', 'columntype' => 'int(11)', 'maximumlength' => '-128,127', 'presence' => 2, 'generatedtype' => 2,
56 56
 		],
57 57
 		'share_externally' => [
58 58
 			'validationConditions' => ['uitype', 'fieldparams'],
59
-			'name' => 'share_externally',	'column' => 'share_externally',	'label' => 'FL_SHARE_EXTERNALLY',	'defaultvalue' => 0,	'fieldparams' => 1,
60
-			'uitype' => 318,	'typeofdata' => 'C~O',	'columntype' => 'tinyint(1)', 'maximumlength' => '-128,127',
59
+			'name' => 'share_externally', 'column' => 'share_externally', 'label' => 'FL_SHARE_EXTERNALLY', 'defaultvalue' => 0, 'fieldparams' => 1,
60
+			'uitype' => 318, 'typeofdata' => 'C~O', 'columntype' => 'tinyint(1)', 'maximumlength' => '-128,127',
61 61
 		],
62 62
 	];
63 63
 
Please login to merge, or discard this patch.
user_privileges/tabdata.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1
-<?php $tab_seq_array=[1=>0,3=>0,4=>0,6=>0,7=>0,8=>0,9=>0,13=>0,14=>0,15=>0,18=>0,19=>0,24=>0,26=>0,29=>0,30=>0,32=>0,34=>0,35=>0,37=>0,40=>0,41=>0,42=>0,43=>0,45=>0,48=>0,51=>0,53=>0,54=>0,57=>0,58=>0,59=>0,60=>0,61=>0,73=>0,74=>0,75=>0,78=>0,79=>0,80=>0,81=>0,82=>0,83=>0,84=>0,85=>0,86=>0,87=>0,88=>0,89=>0,90=>0,91=>0,92=>0,93=>0,94=>0,95=>0,96=>0,97=>0,98=>0,99=>0,100=>0,101=>0,102=>0,103=>0,104=>0,105=>0,106=>0,107=>0,108=>0,109=>0,110=>0,111=>0,112=>0,113=>0,114=>0,115=>0,116=>0,117=>0,118=>0,119=>0,120=>0,121=>0,122=>0,123=>0,124=>0,125=>0,126=>0,127=>0,128=>0,129=>1,130=>0,131=>0,132=>0,133=>0,134=>0,135=>0];
2
-return ['tabId'=>['Dashboard'=>1,'Home'=>3,'Contacts'=>4,'Accounts'=>6,'Leads'=>7,'Documents'=>8,'Calendar'=>9,'HelpDesk'=>13,'Products'=>14,'Faq'=>15,'Vendors'=>18,'PriceBooks'=>19,'Rss'=>24,'Campaigns'=>26,'Users'=>29,'Import'=>30,'ModTracker'=>32,'ServiceContracts'=>34,'Services'=>35,'Assets'=>37,'ModComments'=>40,'ProjectMilestone'=>41,'ProjectTask'=>42,'Project'=>43,'SMSNotifier'=>45,'OSSMail'=>48,'OSSTimeControl'=>51,'OSSMailScanner'=>53,'OSSMailView'=>54,'OSSOutsourcedServices'=>57,'OSSSoldServices'=>58,'OutsourcedProducts'=>59,'OSSPasswords'=>60,'OSSEmployees'=>61,'ApiAddress'=>73,'CallHistory'=>74,'Ideas'=>75,'HolidaysEntitlement'=>78,'PaymentsIn'=>79,'PaymentsOut'=>80,'LettersIn'=>81,'LettersOut'=>82,'Announcements'=>83,'Reservations'=>84,'SQuoteEnquiries'=>85,'SSalesProcesses'=>86,'SRequirementsCards'=>87,'SCalculations'=>88,'SQuotes'=>89,'SSingleOrders'=>90,'SRecurringOrders'=>91,'Partners'=>92,'Competition'=>93,'FBookkeeping'=>94,'FInvoice'=>95,'KnowledgeBase'=>96,'IStorages'=>97,'IGRN'=>98,'FInvoiceProforma'=>99,'IGDN'=>100,'IIDN'=>101,'IGIN'=>102,'IPreOrder'=>103,'ISTDN'=>104,'ISTN'=>105,'ISTRN'=>106,'FCorectingInvoice'=>107,'IGRNC'=>108,'IGDNC'=>109,'OpenStreetMap'=>110,'Notification'=>111,'EmailTemplates'=>112,'CFixedAssets'=>113,'CInternalTickets'=>114,'FInvoiceCost'=>115,'CMileageLogbook'=>116,'SVendorEnquiries'=>117,'Chat'=>118,'MultiCompany'=>119,'PermissionInspector'=>120,'DataSetRegister'=>121,'ActivityRegister'=>122,'LocationRegister'=>123,'IncidentRegister'=>124,'AuditRegister'=>125,'RecycleBin'=>126,'Approvals'=>127,'ApprovalsRegister'=>128,'MailIntegration'=>129,'Locations'=>130,'Occurrences'=>131,'ProductCategory'=>132,'BankAccounts'=>133,'Queue'=>134,'Passwords'=>135],'tabPresence'=>[1=>0,3=>0,4=>0,6=>0,7=>0,8=>0,9=>0,13=>0,14=>0,15=>0,18=>0,19=>0,24=>0,26=>0,29=>0,30=>0,32=>0,34=>0,35=>0,37=>0,40=>0,41=>0,42=>0,43=>0,45=>0,48=>0,51=>0,53=>0,54=>0,57=>0,58=>0,59=>0,60=>0,61=>0,73=>0,74=>0,75=>0,78=>0,79=>0,80=>0,81=>0,82=>0,83=>0,84=>0,85=>0,86=>0,87=>0,88=>0,89=>0,90=>0,91=>0,92=>0,93=>0,94=>0,95=>0,96=>0,97=>0,98=>0,99=>0,100=>0,101=>0,102=>0,103=>0,104=>0,105=>0,106=>0,107=>0,108=>0,109=>0,110=>0,111=>0,112=>0,113=>0,114=>0,115=>0,116=>0,117=>0,118=>0,119=>0,120=>0,121=>0,122=>0,123=>0,124=>0,125=>0,126=>0,127=>0,128=>0,129=>1,130=>0,131=>0,132=>0,133=>0,134=>0,135=>0],'tabOwnedby'=>[1=>1,3=>1,4=>0,6=>0,7=>0,8=>0,9=>0,13=>0,14=>0,15=>1,18=>0,19=>1,24=>1,26=>0,29=>1,30=>0,32=>0,34=>0,35=>0,37=>0,40=>0,41=>0,42=>0,43=>0,45=>0,48=>0,51=>0,53=>0,54=>0,57=>0,58=>0,59=>0,60=>0,61=>0,73=>0,74=>0,75=>0,78=>0,79=>0,80=>0,81=>0,82=>0,83=>0,84=>0,85=>0,86=>0,87=>0,88=>0,89=>0,90=>0,91=>0,92=>0,93=>0,94=>0,95=>0,96=>0,97=>0,98=>0,99=>0,100=>0,101=>0,102=>0,103=>0,104=>0,105=>0,106=>0,107=>0,108=>0,109=>0,110=>0,111=>0,112=>0,113=>0,114=>0,115=>0,116=>0,117=>0,118=>0,119=>0,120=>0,121=>0,122=>0,123=>0,124=>0,125=>0,126=>0,127=>0,128=>0,129=>0,130=>0,131=>0,132=>0,133=>0,134=>0,135=>0],'actionId'=>['Save'=>0,'SavePriceBook'=>0,'SaveVendor'=>0,'DetailViewAjax'=>1,'EditView'=>1,'PriceBookEditView'=>1,'QuickCreate'=>1,'VendorEditView'=>1,'Delete'=>2,'DeletePriceBook'=>2,'DeleteVendor'=>2,'index'=>3,'Popup'=>3,'DetailView'=>4,'PriceBookDetailView'=>4,'VendorDetailView'=>4,'Import'=>5,'Export'=>6,'CreateView'=>7,'Merge'=>8,'ConvertLead'=>9,'ModTracker'=>13,'CreateCustomFilter'=>14,'DuplicateRecord'=>15,'EditableComments'=>16,'MassEdit'=>17,'MassDelete'=>18,'MassAddComment'=>19,'MassComposeEmail'=>20,'MassSendSMS'=>21,'MassTransferOwnership'=>22,'MassMoveDocuments'=>23,'ReadRecord'=>24,'WorkflowTrigger'=>25,'Dashboard'=>26,'CreateDashboardFilter'=>27,'QuickExportToExcel'=>28,'DetailTransferOwnership'=>30,'ActivityPostponed'=>31,'ActivityCancel'=>32,'ActivityComplete'=>33,'ExportPdf'=>34,'PrintMail'=>35,'RecordMapping'=>36,'RecordMappingList'=>37,'OpenRecord'=>38,'CloseRecord'=>39,'FavoriteRecords'=>40,'WatchingRecords'=>41,'WatchingModule'=>42,'RemoveRelation'=>46,'ReceivingMailNotifications'=>47,'ReviewingUpdates'=>48,'CreateDashboardChartFilter'=>49,'ReloadRelationRecord'=>50,'TimeLineList'=>51,'MassArchived'=>52,'MassActive'=>53,'ArchiveRecord'=>54,'ActiveRecord'=>55,'MassTrash'=>56,'MoveToTrash'=>57,'RecordConventer'=>58,'AutoAssignRecord'=>59,'AssignToYourself'=>60,'RecordPdfInventory'=>61,'SetQtyProducts'=>62,'RecordCollector'=>63,'MeetingUrl'=>64,'InterestsConflictUsers'=>65,'Kanban'=>66],'actionName'=>[0=>'Save',1=>'EditView',2=>'Delete',3=>'index',4=>'DetailView',5=>'Import',6=>'Export',7=>'CreateView',8=>'Merge',9=>'ConvertLead',13=>'ModTracker',14=>'CreateCustomFilter',15=>'DuplicateRecord',16=>'EditableComments',17=>'MassEdit',18=>'MassDelete',19=>'MassAddComment',20=>'MassComposeEmail',21=>'MassSendSMS',22=>'MassTransferOwnership',23=>'MassMoveDocuments',24=>'ReadRecord',25=>'WorkflowTrigger',26=>'Dashboard',27=>'CreateDashboardFilter',28=>'QuickExportToExcel',30=>'DetailTransferOwnership',31=>'ActivityPostponed',32=>'ActivityCancel',33=>'ActivityComplete',34=>'ExportPdf',35=>'PrintMail',36=>'RecordMapping',37=>'RecordMappingList',38=>'OpenRecord',39=>'CloseRecord',40=>'FavoriteRecords',41=>'WatchingRecords',42=>'WatchingModule',46=>'RemoveRelation',47=>'ReceivingMailNotifications',48=>'ReviewingUpdates',49=>'CreateDashboardChartFilter',50=>'ReloadRelationRecord',51=>'TimeLineList',52=>'MassArchived',53=>'MassActive',54=>'ArchiveRecord',55=>'ActiveRecord',56=>'MassTrash',57=>'MoveToTrash',58=>'RecordConventer',59=>'AutoAssignRecord',60=>'AssignToYourself',61=>'RecordPdfInventory',62=>'SetQtyProducts',63=>'RecordCollector',64=>'MeetingUrl',65=>'InterestsConflictUsers',66=>'Kanban']];
1
+<?php $tab_seq_array = [1=>0, 3=>0, 4=>0, 6=>0, 7=>0, 8=>0, 9=>0, 13=>0, 14=>0, 15=>0, 18=>0, 19=>0, 24=>0, 26=>0, 29=>0, 30=>0, 32=>0, 34=>0, 35=>0, 37=>0, 40=>0, 41=>0, 42=>0, 43=>0, 45=>0, 48=>0, 51=>0, 53=>0, 54=>0, 57=>0, 58=>0, 59=>0, 60=>0, 61=>0, 73=>0, 74=>0, 75=>0, 78=>0, 79=>0, 80=>0, 81=>0, 82=>0, 83=>0, 84=>0, 85=>0, 86=>0, 87=>0, 88=>0, 89=>0, 90=>0, 91=>0, 92=>0, 93=>0, 94=>0, 95=>0, 96=>0, 97=>0, 98=>0, 99=>0, 100=>0, 101=>0, 102=>0, 103=>0, 104=>0, 105=>0, 106=>0, 107=>0, 108=>0, 109=>0, 110=>0, 111=>0, 112=>0, 113=>0, 114=>0, 115=>0, 116=>0, 117=>0, 118=>0, 119=>0, 120=>0, 121=>0, 122=>0, 123=>0, 124=>0, 125=>0, 126=>0, 127=>0, 128=>0, 129=>1, 130=>0, 131=>0, 132=>0, 133=>0, 134=>0, 135=>0];
2
+return ['tabId'=>['Dashboard'=>1, 'Home'=>3, 'Contacts'=>4, 'Accounts'=>6, 'Leads'=>7, 'Documents'=>8, 'Calendar'=>9, 'HelpDesk'=>13, 'Products'=>14, 'Faq'=>15, 'Vendors'=>18, 'PriceBooks'=>19, 'Rss'=>24, 'Campaigns'=>26, 'Users'=>29, 'Import'=>30, 'ModTracker'=>32, 'ServiceContracts'=>34, 'Services'=>35, 'Assets'=>37, 'ModComments'=>40, 'ProjectMilestone'=>41, 'ProjectTask'=>42, 'Project'=>43, 'SMSNotifier'=>45, 'OSSMail'=>48, 'OSSTimeControl'=>51, 'OSSMailScanner'=>53, 'OSSMailView'=>54, 'OSSOutsourcedServices'=>57, 'OSSSoldServices'=>58, 'OutsourcedProducts'=>59, 'OSSPasswords'=>60, 'OSSEmployees'=>61, 'ApiAddress'=>73, 'CallHistory'=>74, 'Ideas'=>75, 'HolidaysEntitlement'=>78, 'PaymentsIn'=>79, 'PaymentsOut'=>80, 'LettersIn'=>81, 'LettersOut'=>82, 'Announcements'=>83, 'Reservations'=>84, 'SQuoteEnquiries'=>85, 'SSalesProcesses'=>86, 'SRequirementsCards'=>87, 'SCalculations'=>88, 'SQuotes'=>89, 'SSingleOrders'=>90, 'SRecurringOrders'=>91, 'Partners'=>92, 'Competition'=>93, 'FBookkeeping'=>94, 'FInvoice'=>95, 'KnowledgeBase'=>96, 'IStorages'=>97, 'IGRN'=>98, 'FInvoiceProforma'=>99, 'IGDN'=>100, 'IIDN'=>101, 'IGIN'=>102, 'IPreOrder'=>103, 'ISTDN'=>104, 'ISTN'=>105, 'ISTRN'=>106, 'FCorectingInvoice'=>107, 'IGRNC'=>108, 'IGDNC'=>109, 'OpenStreetMap'=>110, 'Notification'=>111, 'EmailTemplates'=>112, 'CFixedAssets'=>113, 'CInternalTickets'=>114, 'FInvoiceCost'=>115, 'CMileageLogbook'=>116, 'SVendorEnquiries'=>117, 'Chat'=>118, 'MultiCompany'=>119, 'PermissionInspector'=>120, 'DataSetRegister'=>121, 'ActivityRegister'=>122, 'LocationRegister'=>123, 'IncidentRegister'=>124, 'AuditRegister'=>125, 'RecycleBin'=>126, 'Approvals'=>127, 'ApprovalsRegister'=>128, 'MailIntegration'=>129, 'Locations'=>130, 'Occurrences'=>131, 'ProductCategory'=>132, 'BankAccounts'=>133, 'Queue'=>134, 'Passwords'=>135], 'tabPresence'=>[1=>0, 3=>0, 4=>0, 6=>0, 7=>0, 8=>0, 9=>0, 13=>0, 14=>0, 15=>0, 18=>0, 19=>0, 24=>0, 26=>0, 29=>0, 30=>0, 32=>0, 34=>0, 35=>0, 37=>0, 40=>0, 41=>0, 42=>0, 43=>0, 45=>0, 48=>0, 51=>0, 53=>0, 54=>0, 57=>0, 58=>0, 59=>0, 60=>0, 61=>0, 73=>0, 74=>0, 75=>0, 78=>0, 79=>0, 80=>0, 81=>0, 82=>0, 83=>0, 84=>0, 85=>0, 86=>0, 87=>0, 88=>0, 89=>0, 90=>0, 91=>0, 92=>0, 93=>0, 94=>0, 95=>0, 96=>0, 97=>0, 98=>0, 99=>0, 100=>0, 101=>0, 102=>0, 103=>0, 104=>0, 105=>0, 106=>0, 107=>0, 108=>0, 109=>0, 110=>0, 111=>0, 112=>0, 113=>0, 114=>0, 115=>0, 116=>0, 117=>0, 118=>0, 119=>0, 120=>0, 121=>0, 122=>0, 123=>0, 124=>0, 125=>0, 126=>0, 127=>0, 128=>0, 129=>1, 130=>0, 131=>0, 132=>0, 133=>0, 134=>0, 135=>0], 'tabOwnedby'=>[1=>1, 3=>1, 4=>0, 6=>0, 7=>0, 8=>0, 9=>0, 13=>0, 14=>0, 15=>1, 18=>0, 19=>1, 24=>1, 26=>0, 29=>1, 30=>0, 32=>0, 34=>0, 35=>0, 37=>0, 40=>0, 41=>0, 42=>0, 43=>0, 45=>0, 48=>0, 51=>0, 53=>0, 54=>0, 57=>0, 58=>0, 59=>0, 60=>0, 61=>0, 73=>0, 74=>0, 75=>0, 78=>0, 79=>0, 80=>0, 81=>0, 82=>0, 83=>0, 84=>0, 85=>0, 86=>0, 87=>0, 88=>0, 89=>0, 90=>0, 91=>0, 92=>0, 93=>0, 94=>0, 95=>0, 96=>0, 97=>0, 98=>0, 99=>0, 100=>0, 101=>0, 102=>0, 103=>0, 104=>0, 105=>0, 106=>0, 107=>0, 108=>0, 109=>0, 110=>0, 111=>0, 112=>0, 113=>0, 114=>0, 115=>0, 116=>0, 117=>0, 118=>0, 119=>0, 120=>0, 121=>0, 122=>0, 123=>0, 124=>0, 125=>0, 126=>0, 127=>0, 128=>0, 129=>0, 130=>0, 131=>0, 132=>0, 133=>0, 134=>0, 135=>0], 'actionId'=>['Save'=>0, 'SavePriceBook'=>0, 'SaveVendor'=>0, 'DetailViewAjax'=>1, 'EditView'=>1, 'PriceBookEditView'=>1, 'QuickCreate'=>1, 'VendorEditView'=>1, 'Delete'=>2, 'DeletePriceBook'=>2, 'DeleteVendor'=>2, 'index'=>3, 'Popup'=>3, 'DetailView'=>4, 'PriceBookDetailView'=>4, 'VendorDetailView'=>4, 'Import'=>5, 'Export'=>6, 'CreateView'=>7, 'Merge'=>8, 'ConvertLead'=>9, 'ModTracker'=>13, 'CreateCustomFilter'=>14, 'DuplicateRecord'=>15, 'EditableComments'=>16, 'MassEdit'=>17, 'MassDelete'=>18, 'MassAddComment'=>19, 'MassComposeEmail'=>20, 'MassSendSMS'=>21, 'MassTransferOwnership'=>22, 'MassMoveDocuments'=>23, 'ReadRecord'=>24, 'WorkflowTrigger'=>25, 'Dashboard'=>26, 'CreateDashboardFilter'=>27, 'QuickExportToExcel'=>28, 'DetailTransferOwnership'=>30, 'ActivityPostponed'=>31, 'ActivityCancel'=>32, 'ActivityComplete'=>33, 'ExportPdf'=>34, 'PrintMail'=>35, 'RecordMapping'=>36, 'RecordMappingList'=>37, 'OpenRecord'=>38, 'CloseRecord'=>39, 'FavoriteRecords'=>40, 'WatchingRecords'=>41, 'WatchingModule'=>42, 'RemoveRelation'=>46, 'ReceivingMailNotifications'=>47, 'ReviewingUpdates'=>48, 'CreateDashboardChartFilter'=>49, 'ReloadRelationRecord'=>50, 'TimeLineList'=>51, 'MassArchived'=>52, 'MassActive'=>53, 'ArchiveRecord'=>54, 'ActiveRecord'=>55, 'MassTrash'=>56, 'MoveToTrash'=>57, 'RecordConventer'=>58, 'AutoAssignRecord'=>59, 'AssignToYourself'=>60, 'RecordPdfInventory'=>61, 'SetQtyProducts'=>62, 'RecordCollector'=>63, 'MeetingUrl'=>64, 'InterestsConflictUsers'=>65, 'Kanban'=>66], 'actionName'=>[0=>'Save', 1=>'EditView', 2=>'Delete', 3=>'index', 4=>'DetailView', 5=>'Import', 6=>'Export', 7=>'CreateView', 8=>'Merge', 9=>'ConvertLead', 13=>'ModTracker', 14=>'CreateCustomFilter', 15=>'DuplicateRecord', 16=>'EditableComments', 17=>'MassEdit', 18=>'MassDelete', 19=>'MassAddComment', 20=>'MassComposeEmail', 21=>'MassSendSMS', 22=>'MassTransferOwnership', 23=>'MassMoveDocuments', 24=>'ReadRecord', 25=>'WorkflowTrigger', 26=>'Dashboard', 27=>'CreateDashboardFilter', 28=>'QuickExportToExcel', 30=>'DetailTransferOwnership', 31=>'ActivityPostponed', 32=>'ActivityCancel', 33=>'ActivityComplete', 34=>'ExportPdf', 35=>'PrintMail', 36=>'RecordMapping', 37=>'RecordMappingList', 38=>'OpenRecord', 39=>'CloseRecord', 40=>'FavoriteRecords', 41=>'WatchingRecords', 42=>'WatchingModule', 46=>'RemoveRelation', 47=>'ReceivingMailNotifications', 48=>'ReviewingUpdates', 49=>'CreateDashboardChartFilter', 50=>'ReloadRelationRecord', 51=>'TimeLineList', 52=>'MassArchived', 53=>'MassActive', 54=>'ArchiveRecord', 55=>'ActiveRecord', 56=>'MassTrash', 57=>'MoveToTrash', 58=>'RecordConventer', 59=>'AutoAssignRecord', 60=>'AssignToYourself', 61=>'RecordPdfInventory', 62=>'SetQtyProducts', 63=>'RecordCollector', 64=>'MeetingUrl', 65=>'InterestsConflictUsers', 66=>'Kanban']];
3 3
 
Please login to merge, or discard this patch.
app/Chat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -695,7 +695,7 @@
 block discarded – undo
695 695
 			}
696 696
 		}
697 697
 
698
-		$lastMessage = 1 === \count($lastMessagesData) ? current($lastMessagesData) : array_reduce($lastMessagesData, function ($a, $b) {
698
+		$lastMessage = 1 === \count($lastMessagesData) ? current($lastMessagesData) : array_reduce($lastMessagesData, function($a, $b) {
699 699
 			return $a['created'] > $b['created'] ? $a : $b;
700 700
 		});
701 701
 		if (!empty($lastMessage)) {
Please login to merge, or discard this patch.
app/Fields/ServerAccess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 				'linkicon' => ($isActive ? 'yfi-public-webservice' : 'yfi-unshare-in-webservice'),
62 62
 				'linkclass' => 'js-action-confirm btn-sm ' . self::BTN_CLASS[$source][$isActive],
63 63
 				'dataUrl' => "index.php?module={$recordModel->getModuleName()}&action=SaveAjax&record={$recordModel->getId()}&field={$fieldName}&value=" . ($isActive ? 0 : 1),
64
-				'linkdata' => ['add-btn-icon' => 1,	'source-view' => $source],
64
+				'linkdata' => ['add-btn-icon' => 1, 'source-view' => $source],
65 65
 			]);
66 66
 		} else {
67 67
 			$return = \Vtiger_Link_Model::getInstanceFromValues([
Please login to merge, or discard this patch.
modules/OSSMail/models/Mail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 class OSSMail_Mail_Model extends \App\Base
17 17
 {
18 18
 	/** @var string[] Ignored mail addresses */
19
-	public const IGNORED_MAILS = ['@', 'undisclosed-recipients',  'Undisclosed-recipients', 'undisclosed-recipients@', 'Undisclosed-recipients@', 'Undisclosed recipients@,@', 'undisclosed recipients@,@'];
19
+	public const IGNORED_MAILS = ['@', 'undisclosed-recipients', 'Undisclosed-recipients', 'undisclosed-recipients@', 'Undisclosed-recipients@', 'Undisclosed recipients@,@', 'undisclosed recipients@,@'];
20 20
 
21 21
 	/** @var array Mail account. */
22 22
 	protected $mailAccount = [];
Please login to merge, or discard this patch.