diff options
author | Eric Roberts <eric@cryode.com> | 2012-07-17 07:18:07 +0200 |
---|---|---|
committer | Eric Roberts <eric@cryode.com> | 2012-07-17 07:18:07 +0200 |
commit | da038d2ebccb4d45ea6d819c914563b2bc009a86 (patch) | |
tree | 195cc7d572bd29db383a5f16c1d886a154e6b61e /system/database | |
parent | fbdad67cac99868509bc1a27affdfc3e4b2a1dee (diff) | |
parent | 4253d320e229150eab6e5d0333508c85e434f3e3 (diff) |
Merge branch 'develop' of https://github.com/EllisLab/CodeIgniter into develop
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/drivers/postgre/postgre_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/postgre/postgre_driver.php b/system/database/drivers/postgre/postgre_driver.php index 20b78673e..031740851 100644 --- a/system/database/drivers/postgre/postgre_driver.php +++ b/system/database/drivers/postgre/postgre_driver.php @@ -529,7 +529,7 @@ class CI_DB_postgre_driver extends CI_DB { $cases = ''; foreach ($final as $k => $v) { - $cases .= $k.' = (CASE '.$k."\n" + $cases .= $k.' = (CASE '.$index."\n" .implode("\n", $v)."\n" .'ELSE '.$k.' END), '; } |