summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/modules/fbgui/controllers/IndexController.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index 4658f86..34c1f13 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -19,7 +19,9 @@ class Fbgui_IndexController extends Zend_Controller_Action {
$membershipMapper = new Application_Model_MembershipMapper();
$this->membership = new Application_Model_Membership();
- $membershipMapper->find($userIDsNamespace['membershipID'], $this->membership);
+ if (isset($userIDsNamespace['membershipID'])) {
+ $membershipMapper->find($userIDsNamespace['membershipID'], $this->membership);
+ }
}
public function errorAction() {
@@ -50,8 +52,8 @@ class Fbgui_IndexController extends Zend_Controller_Action {
$this->view->notification[] = Pbs_Notifier::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)));
+ //$d = new Pbs_Debug();
+ //$d->debug(array('FBGuiIndexController', $_SERVER['REMOTE_ADDR'], implode("\t", $mySession->postdata)));
if(isset($mySession->postdata['serialnumber'])) {
// Create a session