diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-10-30 16:59:48 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-10-30 16:59:48 +0000 |
commit | c02f276c5f4dbf05004b151f3fc25e985dd12f0b (patch) | |
tree | a3f7ca96478195694899e22d4e483f6b528e06f3 /phpBB/includes/db/oracle.php | |
parent | cdeca65aec47189565db5f42139c9d99df6e8c0f (diff) | |
download | forums-c02f276c5f4dbf05004b151f3fc25e985dd12f0b.tar forums-c02f276c5f4dbf05004b151f3fc25e985dd12f0b.tar.gz forums-c02f276c5f4dbf05004b151f3fc25e985dd12f0b.tar.bz2 forums-c02f276c5f4dbf05004b151f3fc25e985dd12f0b.tar.xz forums-c02f276c5f4dbf05004b151f3fc25e985dd12f0b.zip |
saw this bug while debugging... we really really need another layer in 3.1.x (better sooner than later), but retaining backwards compatibility.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10246 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/oracle.php')
-rw-r--r-- | phpBB/includes/db/oracle.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/oracle.php b/phpBB/includes/db/oracle.php index f7180029b5..5e4046e8ef 100644 --- a/phpBB/includes/db/oracle.php +++ b/phpBB/includes/db/oracle.php @@ -136,7 +136,7 @@ class dbal_oracle extends dbal */ function _rewrite_where($where_clause) { - preg_match_all('/\s*(AND|OR)?\s*([\w_.]++)\s*(?:(=|<[=>]?|>=?)\s*((?>\'(?>[^\']++|\'\')*+\'|[\d-.]+))|((NOT )?IN\s*\((?>\'(?>[^\']++|\'\')*+\',? ?|[\d-.]+,? ?)*+\)))/', $where_clause, $result, PREG_SET_ORDER); + preg_match_all('/\s*(AND|OR)?\s*([\w_.()]++)\s*(?:(=|<[=>]?|>=?)\s*((?>\'(?>[^\']++|\'\')*+\'|[\d-.()]+))|((NOT )?IN\s*\((?>\'(?>[^\']++|\'\')*+\',? ?|[\d-.]+,? ?)*+\)))/', $where_clause, $result, PREG_SET_ORDER); $out = ''; foreach ($result as $val) { |