NULL -> null

This commit is contained in:
2018-03-24 12:38:03 +09:00
parent ec3d0c5f68
commit 6f186125e3
9 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ function toInt($val, $force=false){
if(is_numeric($val)){
return intval($val);//
}
if($val === 'NULL' || $val === 'null'){
if(strtolower($val) === 'null'){
return null;
}