Changeset 3782

Show
Ignore:
Timestamp:
02/15/08 14:49:21 (17 months ago)
Author:
guilhermeblanco
Message:

Applied patch provided by ticket #788 in 0.9, 0.10 and trunk

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/0.10/lib/Doctrine/Query.php

    r3476 r3782  
    11021102            $this->_pendingAggregates = array(); 
    11031103            $this->_aggregateAliasMap = array(); 
     1104            $this->_enumParams = array(); 
    11041105        } 
    11051106        $this->reset(); 
     
    11141115        } 
    11151116        $this->_state = self::STATE_CLEAN; 
    1116          
    1117         $params = $this->convertEnums($params);         
    1118  
     1117 
     1118        $params = $this->convertEnums($params); 
    11191119 
    11201120        // Proceed with the generated SQL 
    1121          
     1121 
    11221122        if (empty($this->_sqlParts['from'])) { 
    11231123            return false; 
  • branches/0.9/lib/Doctrine/Query.php

    r3562 r3782  
    11221122            $this->pendingAggregates = array(); 
    11231123            $this->aggregateMap = array(); 
    1124         } 
    1125         $this->reset();    
     1124            $this->_enumParams = array(); 
     1125        } 
     1126        $this->reset(); 
    11261127 
    11271128        // parse the DQL parts 
  • trunk/lib/Doctrine/Query.php

    r3701 r3782  
    10631063            $this->_pendingAggregates = array(); 
    10641064            $this->_aggregateAliasMap = array(); 
     1065            $this->_enumParams = array(); 
    10651066        } 
    10661067        $this->reset(); 
     
    10751076        } 
    10761077        $this->_state = self::STATE_CLEAN; 
    1077          
    1078         $params = $this->convertEnums($params);         
    1079  
     1078 
     1079        $params = $this->convertEnums($params); 
    10801080 
    10811081        // Proceed with the generated SQL 
    1082          
     1082 
    10831083        if (empty($this->_sqlParts['from'])) { 
    10841084            return false;