Changeset 6360 for branches/1.0/lib/Doctrine/Query/Having.php
- Timestamp:
- 09/14/09 16:44:07 (11 months ago)
- Files:
-
- 1 modified
-
branches/1.0/lib/Doctrine/Query/Having.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/lib/Doctrine/Query/Having.php
r5801 r6360 68 68 $field = $map['table']->getColumnName($field); 69 69 $func = $this->query->getTableAlias($reference) . '.' . $field; 70 71 return $this->query->getConnection()->quoteIdentifier($this->query->getTableAlias($reference) . '.' . $field); 70 72 } else { 71 73 $field = end($a); 72 $func = $this->query->getAggregateAlias($field); 74 75 return $this->query->getAggregateAlias($field); 73 76 } 74 return $this->query->getConnection()->quoteIdentifier($func);75 77 } else { 76 78 return $this->query->getConnection()->quoteIdentifier($func);