commit | 7db0f597c78cd5485b566d9cd6e3935a8489c540 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Thu Jun 28 17:54:27 2012 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Thu Jun 28 17:54:27 2012 +0300 |
tree | d40a81837115fa12bb74ea2630336af9386379ab | |
parent | d580999cead0aa37d705c2f32e02712a2d522deb [diff] [blame] |
Fix issue #1546
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index 739b251..380bbc3 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php
@@ -970,6 +970,11 @@ return $item; } + // Avoid breaking functions inside queries + elseif (strpos($item, '(') !== FALSE) + { + return $item; + } static $preg_ec = array();