Skip to content

Commit

Permalink
Fix regression in Horde_Db_SearchParser::parse(). Fixes #12743
Browse files Browse the repository at this point in the history
Introduced by 0bb0b49
"Use Horde_String."

Signed-off-by: Jan Schneider <jan@horde.org>
  • Loading branch information
thomasjfox authored and yunosh committed Oct 14, 2013
1 parent bfe61b1 commit c35e642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Db/lib/Horde/Db/SearchParser.php
Expand Up @@ -78,7 +78,7 @@ static public function parse($column, $expr)
$token = '!OR';
} elseif (preg_match('/^(AND|OR|NOT)([^a-z].*)?$/i', $expr,
$matches)) {
$token = '!' . Horde_String::lower($matches[1]);
$token = '!' . Horde_String::upper($matches[1]);
$expr = substr($expr, strlen($matches[1]));
} elseif (preg_match('/^"(([^"]|\\[0-7]+|\\[Xx][0-9a-fA-F]+|\\[^Xx0-7])*)"/',
$expr, $matches)) {
Expand Down

0 comments on commit c35e642

Please sign in to comment.