From 8ceb7bad18f257127ad5790a9c0ec157d7e03f4d Mon Sep 17 00:00:00 2001 From: michael pereira Date: Mon, 4 Apr 2011 17:12:48 +0200 Subject: WICHTIG findBy Methode geƤndert & alles angepasst, siehe Ticket --- application/modules/dev/controllers/ResourceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/modules/dev/controllers/ResourceController.php') diff --git a/application/modules/dev/controllers/ResourceController.php b/application/modules/dev/controllers/ResourceController.php index 4e92ce3..9ae7582 100644 --- a/application/modules/dev/controllers/ResourceController.php +++ b/application/modules/dev/controllers/ResourceController.php @@ -13,7 +13,7 @@ class dev_ResourceController extends Zend_Controller_Action $alphasessionID = $this->_request->getParam('alpha'); $session = new Application_Model_Session(); $sm = new Application_Model_SessionMapper(); - $result = $sm->findBy('alphasessionID',$alphasessionID); + $result = $sm->findBy(array('alphasessionID' => $alphasessionID), true); # print_a($result); $this->thisSession = $session->setOptions($result[0]); $this->thisSession->setID($result[0]['sessionID']); -- cgit v1.2.3-55-g7522