summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql/mysql_utility.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-01-18 16:52:48 +0100
committerDerek Jones <derek.jones@ellislab.com>2008-01-18 16:52:48 +0100
commit8435771a6f831fece5d4267e97c5e9c361dcb70b (patch)
treee7469b569de52446690bdecb5e5e164935f87faa /system/database/drivers/mysql/mysql_utility.php
parent8f00021b55a87ec64a50d15f765160bd4e908c6b (diff)
fixed bug #3260 tightened type checking before outputting MySQL field as NULL
Diffstat (limited to 'system/database/drivers/mysql/mysql_utility.php')
-rw-r--r--system/database/drivers/mysql/mysql_utility.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mysql/mysql_utility.php b/system/database/drivers/mysql/mysql_utility.php
index c24a008fa..3c5b94013 100644
--- a/system/database/drivers/mysql/mysql_utility.php
+++ b/system/database/drivers/mysql/mysql_utility.php
@@ -179,7 +179,7 @@ class CI_DB_mysql_utility extends CI_DB_utility {
$v = str_replace('\\\t', '\t', $v);
// Is the value NULL?
- if ($v == NULL)
+ if ($v === NULL)
{
$val_str .= 'NULL';
}