From 6ce4da61d83b84965b7db6af2b07abe5de25ca46 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 14 Apr 2011 13:56:38 +0200 Subject: bugfix für fbgui --- application/modules/fbgui/controllers/IndexController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (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 6941e47..2da3a6c 100644 --- a/application/modules/fbgui/controllers/IndexController.php +++ b/application/modules/fbgui/controllers/IndexController.php @@ -22,7 +22,8 @@ class Fbgui_IndexController extends Zend_Controller_Action } public function indexAction() - { + { + $_POST = $_SESSION['postdata']; if(isset($_POST['bootisoID']) || isset($_POST['serialnumber'])){ // Create a session $n = new Pbs_Session(); @@ -33,7 +34,7 @@ class Fbgui_IndexController extends Zend_Controller_Action $bootisomapper->find($_POST['bootisoID'],$bootiso); $groupID = $bootiso->getGroupID(); } - elseif(isset($_POST['serialnumber'])){ + elseif(isset($_POST['serialnumber'])){ $results = $bootisomapper->findBy(array('serialnumber' => $_POST['serialnumber']),true); if(count($results) == 0){ $this->_redirect('/fbgui/index/error/serialresult/noserial'); -- cgit v1.2.3-55-g7522