summaryrefslogtreecommitdiffstats
path: root/application/models
diff options
context:
space:
mode:
Diffstat (limited to 'application/models')
-rw-r--r--application/models/Muser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/Muser.php b/application/models/Muser.php
index 1ee6c259a..00d14b7b9 100644
--- a/application/models/Muser.php
+++ b/application/models/Muser.php
@@ -276,7 +276,7 @@ class Muser extends CI_Model {
function require_access($wanted_level = "full")
{
- if ($this->input->post("apikey") !== false) {
+ if ($this->input->post("apikey") !== null) {
$this->apilogin($this->input->post("apikey"));
}