diff options
Diffstat (limited to 'protected/controllers/VeranstaltungController.php')
| -rw-r--r-- | protected/controllers/VeranstaltungController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protected/controllers/VeranstaltungController.php b/protected/controllers/VeranstaltungController.php index d4471b7..49ec10a 100644 --- a/protected/controllers/VeranstaltungController.php +++ b/protected/controllers/VeranstaltungController.php @@ -61,6 +61,7 @@ class VeranstaltungController extends Controller if(isset($_POST['Veranstaltung'])) { $model->attributes=$_POST['Veranstaltung']; + Yii::trace(print_r($model, true), "VERANSTALTUNG"); if($model->save()) $this->redirect(array('view','id'=>$model->id)); } @@ -90,6 +91,7 @@ class VeranstaltungController extends Controller if(isset($_POST['Veranstaltung'])) { $model->attributes=$_POST['Veranstaltung']; + if($model->save()) $this->redirect(array('view','id'=>$model->id)); } |
