fixes #732 - yes, it's a nasty hack, but we have a new parser on the way
This commit is contained in:
parent
0061bc827b
commit
04276090b5
@ -93,6 +93,10 @@ class Doctrine_Query_Having extends Doctrine_Query_Condition
|
||||
$operator = array_shift($tokens);
|
||||
$value = implode(' ', $tokens);
|
||||
$part .= ' ' . $operator . ' ' . $value;
|
||||
// check the RHS for aggregate functions
|
||||
if (strpos($value, '(') !== false) {
|
||||
$value = $this->parseAggregateFunction($value);
|
||||
}
|
||||
return $part;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user