diff options
Diffstat (limited to 'system/database/DB_utility.php')
-rw-r--r-- | system/database/DB_utility.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php index a1450f099..3557801fa 100644 --- a/system/database/DB_utility.php +++ b/system/database/DB_utility.php @@ -252,7 +252,7 @@ abstract class CI_DB_utility { $line = array(); foreach ($row as $item) { - $line[] = $enclosure.str_replace($enclosure, $enclosure.$enclosure, $item).$enclosure; + $line[] = $enclosure.str_replace($enclosure, $enclosure.$enclosure, (string) $item).$enclosure; } $out .= implode($delim, $line).$newline; } |