summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorBjörn Geiger2011-08-08 11:30:27 +0200
committerBjörn Geiger2011-08-08 11:30:27 +0200
commitb8badf1ccfc9f521070660d0b2d2ea92c11d8e8f (patch)
treecce72b4f9715d3b9e91ee2ea7a679540fe25dc36 /application/controllers
parentRoleAPI und find Functions von bestimmten Mappern korrigiert (diff)
downloadpbs2-b8badf1ccfc9f521070660d0b2d2ea92c11d8e8f.tar.gz
pbs2-b8badf1ccfc9f521070660d0b2d2ea92c11d8e8f.tar.xz
pbs2-b8badf1ccfc9f521070660d0b2d2ea92c11d8e8f.zip
Fehler korrigiert
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/ResourceController.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php
index ba268d7..eeb00b2 100644
--- a/application/controllers/ResourceController.php
+++ b/application/controllers/ResourceController.php
@@ -1036,7 +1036,9 @@ class ResourceController extends Zend_Controller_Action
}
public function getroleAction() {
- $apikey = $this->_request->getParam('apikey');
+ $params = $this->_request->getParams();
+
+ $apikey = $params['apikey'];
if($apikey == ""){
header('HTTP/1.0 400 No API-Key');
die();