commit | 8435771a6f831fece5d4267e97c5e9c361dcb70b | [log] [tgz] |
---|---|---|
author | Derek Jones <derek.jones@ellislab.com> | Fri Jan 18 15:52:48 2008 +0000 |
committer | Derek Jones <derek.jones@ellislab.com> | Fri Jan 18 15:52:48 2008 +0000 |
tree | e7469b569de52446690bdecb5e5e164935f87faa | |
parent | 8f00021b55a87ec64a50d15f765160bd4e908c6b [diff] [blame] |
fixed bug #3260 tightened type checking before outputting MySQL field as NULL
diff --git a/system/database/drivers/mysql/mysql_utility.php b/system/database/drivers/mysql/mysql_utility.php index c24a008..3c5b940 100644 --- a/system/database/drivers/mysql/mysql_utility.php +++ b/system/database/drivers/mysql/mysql_utility.php
@@ -179,7 +179,7 @@ $v = str_replace('\\\t', '\t', $v); // Is the value NULL? - if ($v == NULL) + if ($v === NULL) { $val_str .= 'NULL'; }