From 595642e66c75b519375414c9bf09195264419fe3 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 19 Apr 2011 20:43:38 +0200 Subject: Ticket #227 - Wenn eine Person nur eine Membership hat, wird diese automatischa usgewählt --- application/modules/fbgui/controllers/IndexController.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'application/modules/fbgui/controllers/IndexController.php') 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))); -- cgit v1.2.3-55-g7522