Completed
Push — developer ( 59a2e1...df8f62 )
by Błażej
27:58
created
include/utils/utils.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1401,7 +1401,7 @@
 block discarded – undo
1401 1401
 function isRecordExists($recordId, $cache = true)
1402 1402
 {
1403 1403
 	$recordMetaData = vtlib\Functions::getCRMRecordMetadata($recordId);
1404
-	return (isset($recordMetaData) && $recordMetaData['deleted'] == 0 ) ? true : false;
1404
+	return (isset($recordMetaData) && $recordMetaData['deleted'] == 0) ? true : false;
1405 1405
 }
1406 1406
 
1407 1407
 /** Function to set date values compatible to database (YY_MM_DD)
Please login to merge, or discard this patch.
vtlib/Vtiger/PackageExport.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
 		if ($dir = @opendir($languageFolder)) {  // open languages folder
215 215
 			while (($langName = readdir($dir)) !== false) {
216 216
 				if ($langName != '..' && $langName != '.' && is_dir($languageFolder . "/" . $langName)) {
217
-					$langDir = @opendir($languageFolder . '/' . $langName);  //open languages/en_us folder
217
+					$langDir = @opendir($languageFolder . '/' . $langName); //open languages/en_us folder
218 218
 					while (($moduleLangFile = readdir($langDir)) !== false) {
219 219
 						$langFilePath = $languageFolder . '/' . $langName . '/' . $moduleLangFile;
220 220
 						if (is_file($langFilePath) && $moduleLangFile === $module . '.php') { //check if languages/en_us/module.php file exists
Please login to merge, or discard this patch.
modules/Users/Users.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@
 block discarded – undo
296 296
 			$buffer = fread($handle, filesize($validate));
297 297
 			if (substr_count($buffer, $authkey) < $i)
298 298
 				return -1;
299
-		}else {
299
+		} else {
300 300
 			return -1;
301 301
 		}
302 302
 	}
Please login to merge, or discard this patch.
modules/Vtiger/models/DetailView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
 			$linkModelList['DETAILVIEW'][] = Vtiger_Link_Model::getInstanceFromValues($editViewLinks);
145 145
 		}
146 146
 
147
-		if (($recordModel->isEditable() && $recordModel->editFieldByModalPermission() ) || $recordModel->editFieldByModalPermission(true)) {
147
+		if (($recordModel->isEditable() && $recordModel->editFieldByModalPermission()) || $recordModel->editFieldByModalPermission(true)) {
148 148
 			$fieldByEditData = $recordModel->getFieldToEditByModal();
149 149
 			$basicActionLink = [
150 150
 				'linktype' => 'DETAILVIEW',
Please login to merge, or discard this patch.
config/config.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 
76 76
 // maximum file size for uploaded files in bytes also used when uploading import files
77 77
 // upload_maxsize default value = 3000000
78
-$upload_maxsize = 52428800;  // 50MB
78
+$upload_maxsize = 52428800; // 50MB
79 79
 // flag to allow export functionality
80 80
 // 'all' to allow anyone to use exports 
81 81
 // 'admin' to only allow admins to export 
Please login to merge, or discard this patch.
modules/Project/models/RelationListView.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
 		$relationModuleModel = $this->getRelationModel()->getRelationModuleModel();
19 19
 		if ($relationModuleModel->getName() == 'HelpDesk') {
20 20
 			if ($relationModuleModel->getField('parent_id')->isViewable()) {
21
-				$createViewUrl .='&parent_id=' . $this->getParentRecordModel()->get('linktoaccountscontacts');
21
+				$createViewUrl .= '&parent_id=' . $this->getParentRecordModel()->get('linktoaccountscontacts');
22 22
 			}
23 23
 		}
24 24
 
Please login to merge, or discard this patch.
modules/Settings/PDF/models/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 	public static $step3Fields = ['module_name', 'header_content'];
65 65
 	public static $step4Fields = ['module_name', 'body_content'];
66 66
 	public static $step5Fields = ['footer_content'];
67
-	public static $step6Fields = ['conditions',];
67
+	public static $step6Fields = ['conditions', ];
68 68
 	public static $step7Fields = ['template_members'];
69 69
 	public static $step8Fields = ['watermark_type', 'watermark_text', 'watermark_size', 'watermark_angle', 'watermark_image'];
70 70
 	public static $module = 'PDF';
Please login to merge, or discard this patch.
modules/Settings/PDF/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
 	/**
179 179
 	 * Function transforms Advance filter to workflow conditions
180 180
 	 */
181
-	public static function transformAdvanceFilterToWorkFlowFilter(Vtiger_PDF_Model &$pdfModel)
181
+	public static function transformAdvanceFilterToWorkFlowFilter(Vtiger_PDF_Model & $pdfModel)
182 182
 	{
183 183
 		$conditions = $pdfModel->get('conditions');
184 184
 		$wfCondition = [];
Please login to merge, or discard this patch.
modules/Settings/ModTracker/actions/Save.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 		$id = $request->get('id');
24 24
 		$status = $request->get('status');
25 25
 		$moduleModel = new Settings_ModTracker_Module_Model();
26
-		$moduleModel->changeActiveStatus($id, $status == 'true' ? 1 : 0 );
26
+		$moduleModel->changeActiveStatus($id, $status == 'true' ? 1 : 0);
27 27
 
28 28
 		$response = new Vtiger_Response();
29 29
 		if ($status == 'true') {
Please login to merge, or discard this patch.