summaryrefslogtreecommitdiffstats
path: root/system/database/DB_utility.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2022-02-11 15:47:18 +0100
committerAndrey Andreev <narf@devilix.net>2022-02-11 15:47:18 +0100
commitdc667a73564012acb5c28df248942be055deff45 (patch)
tree67af708c2134f1a8906daded409be5534883d0e1 /system/database/DB_utility.php
parentcd81c1e6b206c2830fffb4c33d89cb61837f3253 (diff)
parent444f7977a82c09a00db8a74e9472d80fd4f50487 (diff)
Merge branch '3.1-stable' into develop
Diffstat (limited to 'system/database/DB_utility.php')
-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 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;
}