Changeset 4530

Show
Ignore:
Timestamp:
06/21/08 00:52:22 (13 months ago)
Author:
jwage
Message:

Fix to conditional for dql callbacks.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/lib/Doctrine/Query/Abstract.php

    r4496 r4530  
    10731073    protected function _preQuery() 
    10741074    { 
    1075         if ($this->_preQueried) { 
    1076             return; 
    1077         } 
    1078  
    1079         $this->_preQueried = true; 
    1080  
    1081         if (Doctrine_Manager::getInstance()->getAttribute('use_dql_callbacks')) { 
     1075        if ( ! $this->_preQueried && Doctrine_Manager::getInstance()->getAttribute('use_dql_callbacks')) { 
     1076            $this->_preQueried = true; 
     1077 
    10821078            $callback = $this->_getDqlCallback(); 
    10831079