Skip to content

Commit

Permalink
Update Where.php
Browse files Browse the repository at this point in the history
  • Loading branch information
maikealame authored Jun 7, 2019
1 parent 2f71447 commit c2a4027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Where.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ private function whereCompleteProcess($value, $key, $type){
$q .= ")";
break;
case "null":
if(boolval($value) && !empty($value) && !is_null($value) && !in_array(["false","FALSE"],$value))
if(boolval($value) && !empty($value) && !is_null($value) && !in_array($value,["false","FALSE"]))
$q .= " ".$key." IS NULL";
else
$q .= " ".$key." IS NOT NULL";
Expand Down

0 comments on commit c2a4027

Please sign in to comment.