Completed
Push — developer ( 8b9992...7ed20d )
by Błażej
38:47
created
config/config.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 
74 74
 // maximum file size for uploaded files in bytes also used when uploading import files
75 75
 // upload_maxsize default value = 3000000
76
-$upload_maxsize = 52428800;  // 50MB
76
+$upload_maxsize = 52428800; // 50MB
77 77
 // flag to allow export functionality
78 78
 // 'all' to allow anyone to use exports
79 79
 // 'admin' to only allow admins to export
Please login to merge, or discard this patch.
public_html/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,6 @@
 block discarded – undo
6 6
  * @license YetiForce Public License 3.0 (licenses/LicenseEN.txt or yetiforce.com)
7 7
  * @author Mariusz Krzaczkowski <[email protected]>
8 8
  */
9
-chdir(__DIR__.'/../');
9
+chdir(__DIR__ . '/../');
10 10
 define('IS_PUBLIC_DIR', true);
11 11
 require './index.php';
Please login to merge, or discard this patch.
public_html/webservice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,6 @@
 block discarded – undo
6 6
  * @copyright YetiForce Sp. z o.o
7 7
  * @author Mariusz Krzaczkowski <[email protected]>
8 8
  */
9
-chdir(__DIR__.'/../');
9
+chdir(__DIR__ . '/../');
10 10
 define('IS_PUBLIC_DIR', true);
11 11
 require 'webservice.php';
Please login to merge, or discard this patch.
public_html/cron.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,6 @@
 block discarded – undo
6 6
  * @copyright YetiForce Sp. z o.o
7 7
  * @author Mariusz Krzaczkowski <[email protected]>
8 8
  */
9
-chdir(__DIR__.'/../');
9
+chdir(__DIR__ . '/../');
10 10
 define('IS_PUBLIC_DIR', true);
11 11
 require 'cron.php';
Please login to merge, or discard this patch.
public_html/dav.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,6 @@
 block discarded – undo
6 6
  * @copyright YetiForce Sp. z o.o
7 7
  * @author Mariusz Krzaczkowski <[email protected]>
8 8
  */
9
-chdir(__DIR__.'/../');
9
+chdir(__DIR__ . '/../');
10 10
 define('IS_PUBLIC_DIR', true);
11 11
 require 'dav.php';
Please login to merge, or discard this patch.
public_html/file.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,6 @@
 block discarded – undo
6 6
  * @license YetiForce Public License 3.0 (licenses/LicenseEN.txt or yetiforce.com)
7 7
  * @author Mariusz Krzaczkowski <[email protected]>
8 8
  */
9
-chdir(__DIR__.'/../');
9
+chdir(__DIR__ . '/../');
10 10
 define('IS_PUBLIC_DIR', true);
11 11
 require 'file.php';
Please login to merge, or discard this patch.
modules/Vtiger/widgets/HistoryRelation.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,9 +42,9 @@  discard block
 block discarded – undo
42 42
 
43 43
     public function getUrl()
44 44
     {
45
-        $url = 'module='.$this->Module.'&view=Detail&record='.$this->Record.'&mode=showRecentRelation&page=1&limit='.$this->Data['limit'];
45
+        $url = 'module=' . $this->Module . '&view=Detail&record=' . $this->Record . '&mode=showRecentRelation&page=1&limit=' . $this->Data['limit'];
46 46
         foreach (self::getActions() as $type) {
47
-            $url .= '&type[]='.$type;
47
+            $url .= '&type[]=' . $type;
48 48
         }
49 49
 
50 50
         return $url;
@@ -142,12 +142,12 @@  discard block
 block discarded – undo
142 142
                     'id' => 'vtiger_crmentity.crmid',
143 143
                     'content' => 'a.subject',
144 144
                     'user' => 'vtiger_crmentity.smownerid',
145
-                    'time' => new \yii\db\Expression('CONCAT(a.date_start, '.$db->quoteValue(' ').', a.time_start)'),
145
+                    'time' => new \yii\db\Expression('CONCAT(a.date_start, ' . $db->quoteValue(' ') . ', a.time_start)'),
146 146
                 ])
147 147
                 ->from('vtiger_activity a')
148 148
                 ->innerJoin('vtiger_crmentity', 'vtiger_crmentity.crmid = a.activityid')
149 149
                 ->where(['vtiger_crmentity.deleted' => 0])
150
-                ->andWhere(['=', 'a.'.$field, $recordId]);
150
+                ->andWhere(['=', 'a.' . $field, $recordId]);
151 151
             \App\PrivilegeQuery::getConditions($query, 'Calendar', false, $recordId);
152 152
             $queries[] = $query;
153 153
         }
Please login to merge, or discard this patch.
vtlib/Vtiger/Link.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
 				if ($tabid === self::IGNORE_MODULE) {
184 184
 					$permittedTabIdList = \vtlib\Deprecated::getPermittedModuleIdList();
185 185
 					if (!empty($permittedTabIdList)) {
186
-						$permittedTabIdList[] = 0;  // Added to support one link for all modules
186
+						$permittedTabIdList[] = 0; // Added to support one link for all modules
187 187
 						foreach ($permittedTabIdList as $moduleId) {
188 188
 							foreach ($type as $typ) {
189 189
 								if (isset($rows[$moduleId][$typ])) {
Please login to merge, or discard this patch.
api/webservice/Portal/BaseModule/Fields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 			$block = $field->get('block');
29 29
 			if (!isset($blocks[$block->id])) {
30 30
 				$blockProperties = get_object_vars($block);
31
-				$blocks[$block->id] = array_filter($blockProperties, function ($v, $k) {
31
+				$blocks[$block->id] = array_filter($blockProperties, function($v, $k) {
32 32
 					return !is_object($v);
33 33
 				}, ARRAY_FILTER_USE_BOTH);
34 34
 				$blocks[$block->id]['name'] = \App\Language::translate($block->label, $moduleName);
Please login to merge, or discard this patch.