summaryrefslogtreecommitdiffstats
path: root/application/controllers/ResourceController.php
diff options
context:
space:
mode:
authorSimon2011-04-15 12:03:30 +0200
committerSimon2011-04-15 12:03:30 +0200
commitecc70694ac0222738e2c0e95a74834508a8e29c5 (patch)
tree46f1c21572c0718e28d539ba11b4fa85daf03530 /application/controllers/ResourceController.php
parentContent-Length fix (diff)
downloadpbs2-ecc70694ac0222738e2c0e95a74834508a8e29c5.tar.gz
pbs2-ecc70694ac0222738e2c0e95a74834508a8e29c5.tar.xz
pbs2-ecc70694ac0222738e2c0e95a74834508a8e29c5.zip
Resources debug
Diffstat (limited to 'application/controllers/ResourceController.php')
-rw-r--r--application/controllers/ResourceController.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php
index c2ed55b..4db1034 100644
--- a/application/controllers/ResourceController.php
+++ b/application/controllers/ResourceController.php
@@ -15,8 +15,9 @@ class ResourceController extends Zend_Controller_Action
$sm = new Application_Model_SessionMapper();
//TODO Error Messages if something failed
- if($this->_request->getParam('alpha') != 0){
- $alphasessionID = $this->_request->getParam('alpha');
+ $alpha = $this->_request->getParam('alpha');
+ if($alpha != ""){
+ $alphasessionID = $alpha;
$result = $sm->findBy(array('alphasessionID' => $alphasessionID),true);
# print_a($result);
$this->thisSession = $session->setOptions($result[0]);