summaryrefslogtreecommitdiffstats
path: root/application/controllers/ResourceController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/ResourceController.php')
-rw-r--r--application/controllers/ResourceController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/ResourceController.php b/application/controllers/ResourceController.php
index fbd7bbd..25e73ab 100644
--- a/application/controllers/ResourceController.php
+++ b/application/controllers/ResourceController.php
@@ -33,7 +33,7 @@ class ResourceController extends Zend_Controller_Action {
$this->rightrolesMapper = new Application_Model_RightRolesMapper();
$this->membership = array_shift($membershipMapper->findBy(array('apikey' => $apikey)));
- if($this->membership == null) {
+ if(true) {
header('HTTP/1.0 401 Member not found');
die();
}