summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorSoesapto Joeni Hantoro <shidec00@yahoo.com>2012-05-15 03:19:29 +0200
committerSoesapto Joeni Hantoro <shidec00@yahoo.com>2012-05-15 03:19:29 +0200
commit68fe7935a391b20dcf0cbdde9c1b49c697a6443b (patch)
tree40654780d80d7e310e7bec209f4730970536cbd0 /system/database/DB_driver.php
parentf25b9295557f9d5fda1e0b2342964f17e26a390e (diff)
Rollback changes, move it to postgre_driver
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 09513e267..ef77b594e 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -696,7 +696,7 @@ abstract class CI_DB_driver {
}
elseif (is_bool($str))
{
- return ($str === FALSE) ? "FALSE" : "TRUE";
+ return ($str === FALSE) ? 0 : 1;
}
elseif (is_null($str))
{