Changeset 4863
- Timestamp:
- 08/29/08 20:28:38 (10 months ago)
- Files:
-
- 1 modified
-
branches/1.0/lib/Doctrine/Query/Abstract.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/lib/Doctrine/Query/Abstract.php
r4862 r4863 941 941 public function execute($params = array(), $hydrationMode = null) 942 942 { 943 if (empty($this->_dqlParts['from']) && empty($this->_sqlParts['from'])) { 944 throw new Doctrine_Query_Exception('You must have at least one component specified in your from.'); 945 } 946 943 947 $this->_preQuery(); 944 948 945 949 if ($hydrationMode !== null) { 946 950 $this->_hydrator->setHydrationMode($hydrationMode); 947 }948 949 if (empty($this->_dqlParts['from']) && empty($this->_sqlParts['from'])) {950 throw new Doctrine_Query_Exception('You must have at least one component specified in your from.');951 951 } 952 952