summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
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();