Changeset 305
- Timestamp:
- 02/26/10 10:23:56 (5 months ago)
- Location:
- trunk/server/www
- Files:
-
- 2 modified
-
app/controllers/requests_controller.php (modified) (1 diff)
-
cake/libs/model/model.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/www/app/controllers/requests_controller.php
r295 r305 239 239 // Queue the preprocessor 240 240 if (!$this->Request->defer('run', 'Preprocessor')) { 241 $errors[] = __('Failed to queue the request for the virus scanner. Please contact system administration.', true); 241 $this->Request->delete(); 242 $this->Session->setFlash(__('Failed to queue the request for the virus scanner. Please contact system administration.', true)); 243 $this->redirect(array('action'=>'add')); 242 244 } 243 245 -
trunk/server/www/cake/libs/model/model.php
r5 r305 1661 1661 if (!empty($id)) { 1662 1662 $this->id = $id; 1663 $this->exists(true); 1663 1664 } 1664 1665 $id = $this->id;
