File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -192,9 +192,9 @@ private function buildSQL(){
192192 if (!empty ($ this ->paramTags )){
193193 if (is_array ($ this ->searchQuery )) {
194194 foreach ($ this ->searchQuery as $ tag ){
195- $ sql .= "FIND_IN_SET(' {$ tag }', {$ this ->paramTags }) {$ this ->queryEnd } " ; //OR
195+ $ sql .= "FIND_IN_SET(' {$ tag }', {$ this ->paramTags }) {$ this ->queryEnd } " ;
196196 }
197- $ sql = rtrim ($ sql , " {$ this ->queryEnd } " ); //OR
197+ $ sql = rtrim ($ sql , " {$ this ->queryEnd } " );
198198 }else {
199199 $ sql .= "FIND_IN_SET(' {$ this ->searchQuery }', {$ this ->paramTags }) " ;
200200 }
@@ -204,7 +204,7 @@ private function buildSQL(){
204204 for ($ i = 0 ; $ i < $ arrayCount ; $ i ++) {
205205 $ sql .= $ this ->buildArrayQuery ($ i );
206206 if ($ i != $ arrayCount - 1 ) {
207- $ sql .= " {$ this ->queryEnd } " ; //OR
207+ $ sql .= " {$ this ->queryEnd } " ;
208208 }
209209 }
210210 } else {
You can’t perform that action at this time.
0 commit comments