diff options
author | Michael Neves | 2012-01-26 23:43:27 +0100 |
---|---|---|
committer | Michael Neves | 2012-01-26 23:43:27 +0100 |
commit | bb64b140ce1cf826245383e2a502498e8f5accfc (patch) | |
tree | d2d41c50df89231375eb2d7f9b4192b4dd598c52 | |
parent | serials output (diff) | |
download | pbs2-bb64b140ce1cf826245383e2a502498e8f5accfc.tar.gz pbs2-bb64b140ce1cf826245383e2a502498e8f5accfc.tar.xz pbs2-bb64b140ce1cf826245383e2a502498e8f5accfc.zip |
serials output
-rw-r--r-- | application/controllers/ResourceController.php | 2 |
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(); } |