Show
Ignore:
Timestamp:
09/14/09 16:44:07 (11 months ago)
Author:
jwage
Message:

[1.0][DC-4] Fixes issue with identifier quoting dbl quoting in some cases

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/lib/Doctrine/Query/Having.php

    r5801 r6360  
    6868                    $field     = $map['table']->getColumnName($field); 
    6969                    $func      = $this->query->getTableAlias($reference) . '.' . $field; 
     70 
     71                    return $this->query->getConnection()->quoteIdentifier($this->query->getTableAlias($reference) . '.' . $field); 
    7072                } else { 
    7173                    $field = end($a); 
    72                     $func  = $this->query->getAggregateAlias($field); 
     74 
     75                    return $this->query->getAggregateAlias($field); 
    7376                } 
    74                 return $this->query->getConnection()->quoteIdentifier($func); 
    7577            } else { 
    7678                return $this->query->getConnection()->quoteIdentifier($func);