Changeset 4811
- Timestamp:
- 08/25/08 23:37:32 (10 months ago)
- Location:
- branches/1.0/lib/Doctrine
- Files:
-
- 2 modified
-
Query.php (modified) (1 diff)
-
Query/Abstract.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/lib/Doctrine/Query.php
r4794 r4811 1005 1005 } 1006 1006 1007 $tableAlias = trim($e[3], '`"'); 1008 $componentAlias = $this->getComponentAlias($tableAlias); 1007 $componentAlias = $this->getComponentAlias($e[3]); 1009 1008 1010 1009 $string = $this->getInheritanceCondition($componentAlias); -
branches/1.0/lib/Doctrine/Query/Abstract.php
r4809 r4811 881 881 public function getComponentAlias($sqlTableAlias) 882 882 { 883 $sqlTableAlias = trim($sqlTableAlias, ' `"');883 $sqlTableAlias = trim($sqlTableAlias, '[]`"'); 884 884 if ( ! isset($this->_tableAliasMap[$sqlTableAlias])) { 885 885 throw new Doctrine_Query_Exception('Unknown table alias ' . $sqlTableAlias);