Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Commit

Permalink
merged conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
cnizzardini committed Jun 26, 2014
2 parents 997dae3 + a73f5c3 commit c0aa136
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Controller/Component/DataTableComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ private function getWhereConditions(){
foreach($fields as $x => $column){

// only create conditions on bSearchable fields
if( $this->controller->request->query['bSearchable_'.$x] == 'true' ){
if (isset($this->controller->request->query['bSearchable_'.$x])) { // check if the parameter exists in query.

if($this->mDataProp == true){
$conditions['OR'][] = array(
Expand Down Expand Up @@ -268,7 +268,7 @@ private function getWhereConditions(){
}
}
}
}
}
}
return $conditions;
}
Expand Down Expand Up @@ -396,4 +396,4 @@ public function getTimes(){

return $times;
}
}
}

0 comments on commit c0aa136

Please sign in to comment.