23
23
if (!empty($this->data)) {
24
24
$this->EventType->create();
25
25
if ($this->EventType->save($this->data)) {
26
$this->Session->setFlash(__('The event type has been saved', true),'default', array('class'=>'success-message'));
27
27
$this->redirect(array('action' => 'index'));
29
29
$this->Session->setFlash(__('The event type could not be saved. Please, try again.', true));