Changeset 217
- Timestamp:
- 12/08/07 22:49:59 (1 year ago)
- Files:
-
- trunk/ToasterAdmin/Common.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ToasterAdmin/Common.php
r202 r217 61 61 * Required by several modules 62 62 * 63 * @access protected false if it was supplied, PEAR_Error if it was not64 63 * @return mixed 65 64 */ 66 65 protected function noDomainSupplied() { 67 if ( !isset($_REQUEST['domain'])) {68 return PEAR::raiseError(_('Error no domain supplied'));66 if (is_null($this->domain)) { 67 throw new Framework_Exception (_('Error no domain supplied')); 69 68 } 70 return false;71 69 } 72 70
