mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 02:27:34 -07:00
'null === ...' can be used.
This commit is contained in:
parent
6a3bf7cea6
commit
ec96f6567b
8 changed files with 47 additions and 47 deletions
|
@ -412,7 +412,7 @@ class sql_db
|
|||
return ($v) ? '1' : '0';
|
||||
case is_float($v):
|
||||
return "'$v'";
|
||||
case is_null($v):
|
||||
case null === $v:
|
||||
return 'NULL';
|
||||
}
|
||||
// if $v has unsuitable type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue