diff options
| author | Simon | 2011-04-19 14:37:22 +0200 |
|---|---|---|
| committer | Simon | 2011-04-19 14:37:22 +0200 |
| commit | f2564dd358bf6664cb0c00f718afbfc48053f1f3 (patch) | |
| tree | ac77e7b2ce3d50ca91838056afdcdb19452622c3 /application/modules/fbgui | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-f2564dd358bf6664cb0c00f718afbfc48053f1f3.tar.gz pbs2-f2564dd358bf6664cb0c00f718afbfc48053f1f3.tar.xz pbs2-f2564dd358bf6664cb0c00f718afbfc48053f1f3.zip | |
Debugmeldung entfernt
Diffstat (limited to 'application/modules/fbgui')
| -rw-r--r-- | application/modules/fbgui/controllers/IndexController.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php index d537e0b..398bdf1 100644 --- a/application/modules/fbgui/controllers/IndexController.php +++ b/application/modules/fbgui/controllers/IndexController.php @@ -85,13 +85,12 @@ class Fbgui_IndexController extends Zend_Controller_Action $session = $n->createSession($session); $_SESSION['alphasessionID'] = $session->getAlphasessionID(); } - else{ - print_a('session wiedergefunden'); + else{ $session = new Application_Model_Session(); $sessionMapper = new Application_Model_SessionMapper(); $sessions = $sessionMapper->findBy(array('alphasessionID'=>$_SESSION['alphasessionID'])); $session = $sessions[0]; - if($this->membership->getID() != ''){ + if($this->membership->getID() != '' && $session->getMembershipID() == ''){ $session->setMembershipID($this->membership->getID()); $sessionMapper->save($session); } |
