Completed
Push — master ( beefde...920166 )
by Andreas
17:15
created
lib/midcom/core/collector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
                 if ($counter <= $this->_offset) {
116 116
                     continue;
117 117
                 }
118
-                if (   $this->_limit
118
+                if ($this->_limit
119 119
                     && $counter > ($this->_offset + $this->_limit)) {
120 120
                     break;
121 121
                 }
Please login to merge, or discard this patch.
lib/midcom/core/query.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
             $this->_user_id = midcom::get()->auth->acl->get_user_id();
141 141
         }
142 142
 
143
-        if (   $this->hide_invisible
143
+        if ($this->hide_invisible
144 144
             && !$this->_visibility_checks_added) {
145 145
             if (!midcom::get()->config->get('show_hidden_objects')) {
146 146
                 $this->add_constraint('metadata.hidden', '=', false);
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
         // Deal with empty arrays, which would produce invalid queries
201 201
         // This is done here to avoid repetitive code in callers, and because
202 202
         // it's easy enough to generalize: IN empty set => always false, NOT IN empty set => always true
203
-        if (   is_array($value)
203
+        if (is_array($value)
204 204
             && empty($value)) {
205 205
             if ($operator == 'NOT IN') {
206 206
                 return true;
Please login to merge, or discard this patch.