summaryrefslogtreecommitdiffstats
path: root/application/modules/fbgui
diff options
context:
space:
mode:
authorSimon2011-03-25 15:18:54 +0100
committerSimon2011-03-25 15:18:54 +0100
commit850a083485b3aa7540a54e1d04ed490a916e35d4 (patch)
tree596fcbe52bbd2f858ca7e4c115e80955d6417fad /application/modules/fbgui
parentMerge branch 'master' of git.openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-850a083485b3aa7540a54e1d04ed490a916e35d4.tar.gz
pbs2-850a083485b3aa7540a54e1d04ed490a916e35d4.tar.xz
pbs2-850a083485b3aa7540a54e1d04ed490a916e35d4.zip
quickfix sessionmanagement
Diffstat (limited to 'application/modules/fbgui')
-rw-r--r--application/modules/fbgui/controllers/IndexController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index 8993285..0719b89 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -30,7 +30,7 @@ class Fbgui_IndexController extends Zend_Controller_Action
elseif(isset($_POST['serialnumber'])){
$result = array();
$results = $bootisomapper->findBy('serialnumber',$_POST['serialnumber']);
- print_a($results);
+ print_a($results);
$bootiso->setOptions($results[0]);
$bootiso->setID($results[0]['bootisoID']);
$groupID = $bootiso->getGroupID();
@@ -45,7 +45,7 @@ class Fbgui_IndexController extends Zend_Controller_Action
$clientID = $client->getID();
$session = new Application_Model_Session();
- $session->setBootisoID($_POST['bootisoID']);
+ $session->setBootisoID($bootiso->getID());
$session->setClientID($clientID);
$session->setTime(time());
$session->setIp($_SERVER['REMOTE_ADDR']);