diff options
| author | Tristan Zur <tzur@ccwn.org> | 2012-04-28 17:06:39 +0200 |
|---|---|---|
| committer | Tristan Zur <tzur@ccwn.org> | 2012-04-28 17:06:39 +0200 |
| commit | 139dbc9cc21fb1d419c6ecc80380f723e613efbc (patch) | |
| tree | 3bfa5c3ee5c84e2ff9ec7ccef2b27f1f378a6a19 /protected/controllers/VeranstaltungController.php | |
| parent | 2d4bddcbf7b816f86db6f308a4d11bc9787c1f99 (diff) | |
- AuditTrail Berechtigungen gesetzt (Nur Admin)
- Fehler in Extension "CJuiDateTimePicker" beseitigt
- DateCompareValidator hinzugefügt
- DateRangeValidator hinzugefügt
- Datenbanktabellennamen geändert
- Views für die Veranstaltungen bearbeitet
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)); } |
