summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-01-19 13:46:36 +0100
committerAndrey Andreev <narf@devilix.net>2015-01-19 13:46:36 +0100
commitacca91e12446c53733d3dca8436b339fcfed3e09 (patch)
tree0da97e6d91ab3f787e7fa93fd55a50e02641a7cb /system/database
parent537242cdeb87c36dae998710032fb7b8aaf74692 (diff)
parentc8aebc6e291468e0cd5074df92b3788d48568297 (diff)
Merge branch 'develop' into feature/session
Diffstat (limited to 'system/database')
-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;