summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2012-01-26 23:43:27 +0100
committerMichael Neves2012-01-26 23:43:27 +0100
commitbb64b140ce1cf826245383e2a502498e8f5accfc (patch)
treed2d41c50df89231375eb2d7f9b4192b4dd598c52
parentserials output (diff)
downloadpbs2-bb64b140ce1cf826245383e2a502498e8f5accfc.tar.gz
pbs2-bb64b140ce1cf826245383e2a502498e8f5accfc.tar.xz
pbs2-bb64b140ce1cf826245383e2a502498e8f5accfc.zip
serials output
-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();
}