diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-28 16:54:27 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-28 16:54:27 +0200 |
commit | 7db0f597c78cd5485b566d9cd6e3935a8489c540 (patch) | |
tree | d40a81837115fa12bb74ea2630336af9386379ab /system/database | |
parent | d580999cead0aa37d705c2f32e02712a2d522deb (diff) |
Fix issue #1546
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/DB_driver.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 739b25187..380bbc301 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -970,6 +970,11 @@ abstract class CI_DB_driver { return $item; } + // Avoid breaking functions inside queries + elseif (strpos($item, '(') !== FALSE) + { + return $item; + } static $preg_ec = array(); |