Passed
Push — master ( 7aa416...5428dd )
by Mohammad
03:07
created
src/Utility/AbstractRepository.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,9 +101,9 @@
 block discarded – undo
101 101
                             }
102 102
                         });
103 103
                     });
104
+                } else {
105
+                                    $latest->where($columns, 'like', "%" . $criteria['search'] . "%", 'or');
104 106
                 }
105
-                else
106
-                    $latest->where($columns, 'like', "%" . $criteria['search'] . "%", 'or');
107 107
             }
108 108
 
109 109
             unset($criteria['search']);
Please login to merge, or discard this patch.