summaryrefslogtreecommitdiffstats
path: root/system/database/DB.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-01-14 10:16:26 +0100
committerAndrey Andreev <narf@devilix.net>2015-01-14 10:16:26 +0100
commitc8aebc6e291468e0cd5074df92b3788d48568297 (patch)
tree15b6c96ae358f1f7750b79fd854c431fbf07b9f7 /system/database/DB.php
parent38666660a0d3b9a91cffb27c0fb519340e76ba5d (diff)
parentbe676859e18bc1b29c28705bc6902f69aa72c236 (diff)
Merge pull request #3479 from jdlferreira/develop
var_export in DB.php outputting string
Diffstat (limited to 'system/database/DB.php')
-rw-r--r--system/database/DB.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB.php b/system/database/DB.php
index fc9f4d0dc..a33627191 100644
--- a/system/database/DB.php
+++ b/system/database/DB.php
@@ -130,7 +130,7 @@ function &DB($params = '', $query_builder_override = NULL)
{
if (is_string($val) && in_array(strtoupper($val), array('TRUE', 'FALSE', 'NULL')))
{
- $val = var_export($val);
+ $val = var_export($val, TRUE);
}
$params[$key] = $val;