diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/database/DB_utility.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php index a843754b4..95230aa7d 100644 --- a/system/database/DB_utility.php +++ b/system/database/DB_utility.php @@ -257,6 +257,10 @@ abstract class CI_DB_utility { $line = array(); foreach ($row as $item) { + if (is_null($item)) + { + $item = ''; + } $line[] = $enclosure.str_replace($enclosure, $enclosure.$enclosure, $item).$enclosure; } $out .= implode($delim, $line).$newline; |