Author: jwage
Date: 2008-09-08 20:15:03 +0100 (Mon, 08 Sep 2008)
New Revision: 4888

Modified:
   branches/1.0/lib/Doctrine/Query/Having.php
Log:
fixes #1418


Modified: branches/1.0/lib/Doctrine/Query/Having.php
===================================================================
--- branches/1.0/lib/Doctrine/Query/Having.php  2008-09-08 19:14:23 UTC (rev 
4887)
+++ branches/1.0/lib/Doctrine/Query/Having.php  2008-09-08 19:15:03 UTC (rev 
4888)
@@ -71,9 +71,9 @@
                     $field = end($a);
                     $func  = $this->query->getAggregateAlias($field);
                 }
-                return $func;
+                return $this->query->getConnection()->quoteIdentifier($func);
             } else {
-                return $func;
+                return $this->query->getConnection()->quoteIdentifier($func);
             }
         }
     }


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to