1
0
mirror of synced 2025-01-18 06:21:40 +03:00
This commit is contained in:
Jonathan.Wage 2007-11-27 02:50:56 +00:00
parent 843deba895
commit 7389d82834

View File

@ -74,8 +74,6 @@ abstract class Doctrine_Query_Condition extends Doctrine_Query_Part
return '(' . $r . ')'; return '(' . $r . ')';
} }
/** /**
* parses a literal value and returns the parsed value * parses a literal value and returns the parsed value
* *
@ -100,7 +98,9 @@ abstract class Doctrine_Query_Condition extends Doctrine_Query_Part
if ( ! is_numeric($a[0])) { if ( ! is_numeric($a[0])) {
// a component found // a component found
$value = $this->query->getTableAlias($a[0]). '.' . $a[1]; $field = array_pop($a);
$reference = implode('.', $a);
$value = $this->query->getTableAlias($reference). '.' . $field;
} }
} }
} else { } else {