avoid endless loops with __call in Doctrine_Query when calling non-existent overload method
(join, parsejoin, parseparsejoin, ...)
This commit is contained in:
parent
13840516a9
commit
623228b4a9
@ -644,7 +644,9 @@ class Doctrine_Query extends Doctrine_Hydrate implements Countable {
|
||||
break;
|
||||
default:
|
||||
$this->parts[$name] = array();
|
||||
$this->$method($args[0]);
|
||||
if (method_exists($this, $method)) {
|
||||
$this->$method($args[0]);
|
||||
}
|
||||
|
||||
throw new Doctrine_Query_Exception("Unknown overload method");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user