This commit is contained in:
parent
c39c751889
commit
e990c9e4f8
1 changed files with 3 additions and 1 deletions
|
@ -341,7 +341,9 @@ class Doctrine_Query extends Doctrine_Hydrate implements Countable {
|
||||||
$e = explode('.', $arg);
|
$e = explode('.', $arg);
|
||||||
|
|
||||||
|
|
||||||
if(count($e) > 1) {
|
if (is_numeric($arg)) {
|
||||||
|
$arglist[] = $arg;
|
||||||
|
} elseif (count($e) > 1) {
|
||||||
//$tableAlias = $this->getTableAlias($e[0]);
|
//$tableAlias = $this->getTableAlias($e[0]);
|
||||||
$table = $this->tables[$tableAlias];
|
$table = $this->tables[$tableAlias];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue