data)) { $this->cleanUpFields(); $this->Comment->create(); if ($this->Comment->save($this->data)) { $this->Session->setFlash('The Comment has been saved'); } else { $this->_persistValidation('Comment'); $this->Session->setFlash('The Comment could not be saved. Please correct the errors and try again.'); } } $this->redirect($this->referer(), null, true); } ?>