summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/database/DB_utility.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php
index a843754b4..dc733ebc8 100644
--- a/system/database/DB_utility.php
+++ b/system/database/DB_utility.php
@@ -257,7 +257,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;
}