projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1711ecf
)
Text/SearchParser.php
author
Alan Knowles
<alan@roojs.com>
Wed, 8 Feb 2012 02:33:17 +0000
(10:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 8 Feb 2012 02:33:17 +0000
(10:33 +0800)
Text/SearchParser.php
patch
|
blob
|
history
diff --git
a/Text/SearchParser.php
b/Text/SearchParser.php
index
03af82e
..
d61554f
100644
(file)
--- a/
Text/SearchParser.php
+++ b/
Text/SearchParser.php
@@
-319,12
+319,12
@@
class Text_SearchParser_Token_Grp extends Text_SearchParser_Token { // (
$add = $o->toSQL($conf);
if (strlen($add)) {
$ret .= ' ' . $add;
+ } else {
+ $ret .= '1=1'
}
}
- if ($ret == '') {
- return '';
- }
+
return $ret . ')' . "\n";