diff options
| author | Simon | 2011-04-15 12:03:30 +0200 |
|---|---|---|
| committer | Simon | 2011-04-15 12:03:30 +0200 |
| commit | ecc70694ac0222738e2c0e95a74834508a8e29c5 (patch) | |
| tree | 46f1c21572c0718e28d539ba11b4fa85daf03530 /application/controllers/ResourceController.php | |
| parent | Content-Length fix (diff) | |
| download | pbs2-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.php | 5 |
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]); |
