Passed
Pull Request — developer (#15586)
by Arkadiusz
15:23
created
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.
modules/Settings/AutomaticAssignment/models/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 	public $customFieldTable = ['s_#__auto_assign_users' => 'id', 's_#__auto_assign_groups' => 'id', 's_#__auto_assign_roles' => 'id'];
19 19
 
20 20
 	/** {@inheritdoc} */
21
-	public $listFields = ['subject' => 'FL_SUBJECT', 'tabid' => 'FL_MODULE',  'state' => 'FL_STATE'];
21
+	public $listFields = ['subject' => 'FL_SUBJECT', 'tabid' => 'FL_MODULE', 'state' => 'FL_STATE'];
22 22
 
23 23
 	/** {@inheritdoc} */
24 24
 	public $name = 'AutomaticAssignment';
Please login to merge, or discard this patch.
vtlib/Vtiger/PackageImport.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -656,7 +656,7 @@  discard block
 block discarded – undo
656 656
 		$this->importCustomLinks($this->_modulexml, $moduleInstance);
657 657
 		$this->importCronTasks($this->_modulexml);
658 658
 		Module::fireEvent($moduleInstance->name, Module::EVENT_MODULE_POSTINSTALL);
659
-		register_shutdown_function(function () {
659
+		register_shutdown_function(function() {
660 660
 			try {
661 661
 				chdir(ROOT_DIRECTORY);
662 662
 				(new \App\BatchMethod(['method' => '\App\UserPrivilegesFile::recalculateAll', 'params' => []]))->save();
@@ -1154,7 +1154,7 @@  discard block
 block discarded – undo
1154 1154
 			$db->createCommand()->update('vtiger_version', ['current_version' => (string) $this->_modulexml->to_version])->execute();
1155 1155
 		}
1156 1156
 		Functions::recurseDelete($dirName);
1157
-		register_shutdown_function(function () {
1157
+		register_shutdown_function(function() {
1158 1158
 			try {
1159 1159
 				Functions::recurseDelete('cache/templates_c');
1160 1160
 			} catch (\Exception $e) {
Please login to merge, or discard this patch.
modules/ApprovalsRegister/models/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 					->setOrder('registration_date', \App\Db::DESC)
63 63
 					->createQuery()->createCommand()->queryAllByGroup(2);
64 64
 
65
-				$approves = array_keys(array_filter($approvalAll, function ($item) {
65
+				$approves = array_keys(array_filter($approvalAll, function($item) {
66 66
 					return 'PLL_ACCEPTANCE' === $item[0];
67 67
 				}));
68 68
 
Please login to merge, or discard this patch.
app/Integrations/Dav/Calendar.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -285,9 +285,9 @@  discard block
 block discarded – undo
285 285
 		$separator = '-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-';
286 286
 		$value = (string) $this->vcomponent->{$davName};
287 287
 		if (false !== strpos($value, $separator)) {
288
-			[$html,$text] = explode($separator, $value, 2);
288
+			[$html, $text] = explode($separator, $value, 2);
289 289
 			$value = trim(strip_tags($html)) . "\n" . \trim(\str_replace($separator, '', $text));
290
-		}else{
290
+		} else {
291 291
 			$value = trim(\str_replace('\n', PHP_EOL, $value));
292 292
 		}
293 293
 		$value = \App\Purifier::decodeHtml(\App\Purifier::purify($value));
@@ -448,14 +448,14 @@  discard block
 block discarded – undo
448 448
 			$currentUser = \App\User::getCurrentUserModel();
449 449
 			$userTimeZone = new \DateTimeZone($currentUser->getDetail('time_zone'));
450 450
 			$sysTimeZone = new \DateTimeZone(\App\Fields\DateTime::getTimeZone());
451
-			[$hour , $minute] = explode(':', $currentUser->getDetail('start_hour'));
451
+			[$hour, $minute] = explode(':', $currentUser->getDetail('start_hour'));
452 452
 			$date = new \DateTime('now', $userTimeZone);
453 453
 			$date->setTime($hour, $minute);
454 454
 			$date->setTimezone($sysTimeZone);
455 455
 			$timeStart = $date->format('H:i:s');
456 456
 
457 457
 			$date->setTimezone($userTimeZone);
458
-			[$hour , $minute] = explode(':', $currentUser->getDetail('end_hour'));
458
+			[$hour, $minute] = explode(':', $currentUser->getDetail('end_hour'));
459 459
 			$date->setTime($hour, $minute);
460 460
 			$date->setTimezone($sysTimeZone);
461 461
 			$timeEnd = $date->format('H:i:s');
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@
 block discarded – undo
287 287
 		if (false !== strpos($value, $separator)) {
288 288
 			[$html,$text] = explode($separator, $value, 2);
289 289
 			$value = trim(strip_tags($html)) . "\n" . \trim(\str_replace($separator, '', $text));
290
-		}else{
290
+		} else{
291 291
 			$value = trim(\str_replace('\n', PHP_EOL, $value));
292 292
 		}
293 293
 		$value = \App\Purifier::decodeHtml(\App\Purifier::purify($value));
Please login to merge, or discard this patch.