Passed
Push — master ( e0bf61...25f737 )
by
unknown
17:31
created
server/includes/modules/class.advancedsearchlistmodule.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -298,7 +298,8 @@  discard block
 block discarded – undo
298 298
 							];
299 299
 						}
300 300
 					}
301
-				} else {
301
+				}
302
+				else {
302 303
 					$terms[] = [
303 304
 						'type' => 'term',
304 305
 						'fields' => $fields,
@@ -329,7 +330,8 @@  discard block
 block discarded – undo
329 330
 					if ($value !== null) {
330 331
 						if ($subres[RELOP] == RELOP_LT || $subres[RELOP] == RELOP_LE) {
331 332
 							$filters['date_end'] = $value;
332
-						} elseif ($subres[RELOP] == RELOP_GT || $subres[RELOP] == RELOP_GE) {
333
+						}
334
+						elseif ($subres[RELOP] == RELOP_GT || $subres[RELOP] == RELOP_GE) {
333 335
 							$filters['date_start'] = $value;
334 336
 						}
335 337
 					}
Please login to merge, or discard this patch.
server/includes/core/class.indexsqlite.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -358,7 +358,7 @@
 block discarded – undo
358 358
 			if (count($parts) === 1) {
359 359
 				return $parts[0];
360 360
 			}
361
-			$wrapped = array_map(function ($segment) {
361
+			$wrapped = array_map(function($segment) {
362 362
 				return '(' . $segment . ')';
363 363
 			}, $parts);
364 364
 			return implode(' ' . $operator . ' ', $wrapped);
Please login to merge, or discard this patch.