Completed
Branch develop (bd4efc)
by
unknown
22:12
created
htdocs/core/actions_extrafields.inc.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,14 +164,14 @@  discard block
 block discarded – undo
164 164
 				} else {
165 165
 					// Else it's separated key/value and coma list
166 166
 					foreach ($parameters_array as $param_ligne) {
167
-						if (strpos($param_ligne, ',')!==false) {
167
+						if (strpos($param_ligne, ',') !== false) {
168 168
 							list($key, $value) = explode(',', $param_ligne);
169 169
 							if (!array_key_exists('options', $params)) {
170 170
 								$params['options'] = array();
171 171
 							}
172 172
 						} else {
173
-							$key=$param_ligne;
174
-							$value=null;
173
+							$key = $param_ligne;
174
+							$value = null;
175 175
 						}
176 176
 						$params['options'][$key] = $value;
177 177
 					}
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
 						$resql = $db->query($sql);
449 449
 						if ($resql) {
450 450
 							$num_rows = $db->num_rows($resql);
451
-							$i=0;
451
+							$i = 0;
452 452
 							while ($i < $num_rows) {
453 453
 								$objtmp = $db->fetch_object($resql);
454 454
 								$id = $objtmp->rowid;
Please login to merge, or discard this patch.