Changeset 4862
- Timestamp:
- 08/29/08 21:26:05 (4 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
r4849 r4862 945 945 if ($hydrationMode !== null) { 946 946 $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.'); 947 951 } 948 952