diff options
| author | Simon | 2011-04-19 20:43:38 +0200 |
|---|---|---|
| committer | Simon | 2011-04-19 20:43:38 +0200 |
| commit | 595642e66c75b519375414c9bf09195264419fe3 (patch) | |
| tree | 62b85883e4e9fa6d30614ae817d77f32061c58bc /application/modules/fbgui/controllers/IndexController.php | |
| parent | debugmeldungen entfernt (diff) | |
| download | pbs2-595642e66c75b519375414c9bf09195264419fe3.tar.gz pbs2-595642e66c75b519375414c9bf09195264419fe3.tar.xz pbs2-595642e66c75b519375414c9bf09195264419fe3.zip | |
Ticket #227 - Wenn eine Person nur eine Membership hat, wird diese automatischa usgewählt
Diffstat (limited to 'application/modules/fbgui/controllers/IndexController.php')
| -rw-r--r-- | application/modules/fbgui/controllers/IndexController.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php index eb8a39d..17d9337 100644 --- a/application/modules/fbgui/controllers/IndexController.php +++ b/application/modules/fbgui/controllers/IndexController.php @@ -40,6 +40,12 @@ class Fbgui_IndexController extends Zend_Controller_Action if(count($mySession->postdata)<=0){ $mySession->postdata = $_POST; } + + $result = $this->_request->getParam('notify'); + if($result == 'nomember'){ + $pbsNotifier = new Pbs_Notifier(); + $this->view->notification = $pbsNotifier->notify('You have no membership, therefore you have no own BootMenu','info'); + } $d = new Pbs_Debug(); $d->debug(array('FBGuiIndexController',$_SERVER['REMOTE_ADDR'],implode("\t",$mySession->postdata))); |
