summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xclasses/api.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/api.php b/classes/api.php
index 764cb04da..4509e394d 100755
--- a/classes/api.php
+++ b/classes/api.php
@@ -88,6 +88,8 @@ class API extends Handler {
$this->_wrap(self::STATUS_OK, array("session_id" => session_id(),
"config" => $this->_get_config(),
"api_level" => self::API_LEVEL));
+
+ return;
} else {
$this->_wrap(self::STATUS_ERR, array("error" => self::E_LOGIN_ERROR));
}