aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/db')
-rw-r--r--phpBB/db/mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/db/mysql.php b/phpBB/db/mysql.php
index cfdd39818c..f9be4b839a 100644
--- a/phpBB/db/mysql.php
+++ b/phpBB/db/mysql.php
@@ -201,7 +201,7 @@ class sql_db
$values = array();
foreach ($assoc_ary as $key => $var)
{
- if ($var == NULL)
+ if (is_null($var)
{
$values[] = "$key = NULL";
}