diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2012-04-30 10:18:11 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2012-04-30 10:18:11 +0200 |
| commit | acec2b5dc35302147f9a9c73d837dce2f3f9958e (patch) | |
| tree | 2f88a3a657a9211331e1e63e056a089189bd0dd2 /protected/controllers/VereinController.php | |
| parent | 56593a21209f3ce55fe66d303dbe01b8e081778b (diff) | |
| parent | 148a216bba21cec1cbe07b60b5191791e0016d6f (diff) | |
Merge branch 'master' of ssh://proxy.ccwn.org:9044/home/ccwn/git-repos/admin.astaf.de
Diffstat (limited to 'protected/controllers/VereinController.php')
| -rw-r--r-- | protected/controllers/VereinController.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/protected/controllers/VereinController.php b/protected/controllers/VereinController.php index 30c05bc..aa18245 100644 --- a/protected/controllers/VereinController.php +++ b/protected/controllers/VereinController.php @@ -65,7 +65,7 @@ class VereinController extends Controller $this->redirect(array('view','id'=>$model->id)); } - $standorte = Standort::model()->findAll(array("condition"=>"published=1")); + $standorte = Standort::model()->findAll(array("condition"=>"published=1 and type='Stand'")); $this->render('create',array( 'model'=>$model, 'standorte'=>$standorte @@ -91,10 +91,12 @@ class VereinController extends Controller $this->redirect(array('view','id'=>$model->id)); } - $standorte = Standort::model()->findAll(array("condition"=>"published=1")); + $standorte = Standort::model()->findAll(array("condition"=>"published=1 and type='Stand'")); + $slugs = User::model()->findAll(); $this->render('update',array( 'model'=>$model, - 'standorte'=>$standorte + 'standorte'=>$standorte, + 'slugs'=>$slugs )); } |
