Author: jwage
Date: 2008-08-26 00:21:31 +0100 (Tue, 26 Aug 2008)
New Revision: 4809
Modified:
branches/1.0/lib/Doctrine/Query/Abstract.php
Log:
fixes #1257
Modified: branches/1.0/lib/Doctrine/Query/Abstract.php
===================================================================
--- branches/1.0/lib/Doctrine/Query/Abstract.php 2008-08-25 23:13:28 UTC
(rev 4808)
+++ branches/1.0/lib/Doctrine/Query/Abstract.php 2008-08-25 23:21:31 UTC
(rev 4809)
@@ -880,6 +880,7 @@
*/
public function getComponentAlias($sqlTableAlias)
{
+ $sqlTableAlias = trim($sqlTableAlias, '`"');
if ( ! isset($this->_tableAliasMap[$sqlTableAlias])) {
throw new Doctrine_Query_Exception('Unknown table alias ' .
$sqlTableAlias);
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---