Ticket #1935: t1935_1.0fix.patch
| File t1935_1.0fix.patch, 1.0 KB (added by develop7, 12 months ago) |
|---|
|
patch that fixes this issue in 1.0 branch |
-
branches/1.0/lib/Doctrine/Query/Having.php
a b 66 66 $reference = implode('.', $a); 67 67 $map = $this->query->load($reference, false); 68 68 $field = $map['table']->getColumnName($field); 69 $func = $this->query->getTableAlias($reference) . '.' . $field; 69 70 return $this->query->getConnection()->quoteIdentifier($this->query->getTableAlias($reference) . '.' . $field); 70 71 } else { 71 72 $field = end($a); 72 $func = $this->query->getAggregateAlias($field); 73 74 return $this->query->getAggregateAlias($field); 73 75 } 74 return $this->query->getConnection()->quoteIdentifier($func);75 76 } else { 76 77 return $this->query->getConnection()->quoteIdentifier($func); 77 78 }