summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2022-02-03 15:33:09 +0100
committerGitHub <noreply@github.com>2022-02-03 15:33:09 +0100
commit068640932168c263db30a969e7364fe8a3f53572 (patch)
treecbbc64459585b4a6096d38a4ea209622fb57ef62 /system
parent193df886a54e0cac8416327f763a1e61dc2a3053 (diff)
parentad86fa92cd59ac1255af1dd5170919f6fbf73786 (diff)
Merge pull request #6092 from jamieburchell/patch-2
Fix PHP 8.1 deprecation in DB_utility.php
Diffstat (limited to 'system')
-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;
}