Ticket #1418 (closed defect: fixed)
Missing identifier quoting in having query part
| Reported by: | mm | Owned by: | romanb |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.0.1 |
| Component: | Query/Hydration | Version: | 0.11.0 |
| Severity: | Keywords: | having, quoting, query, ATTR_QUOTE_IDENTIFIER | |
| Cc: | Has Test: | no | |
| Status: | Pending Core Response | Has Patch: | no |
Description
Similar behaviour to #1272 and #1262, missing identifier quoting in HAVING part. Probably affects 1.0 version because file has no changes, but I didn't test the 1.0 version.
Actual class Doctrine_Query_Having line: 76-77
return $func;
} else {
return $func;
Patch
return $this->query->getConnection()->quoteIdentifier($func);
} else {
return $this->query->getConnection()->quoteIdentifier($func);
Change History
Note: See
TracTickets for help on using
tickets.