diff --git a/classes/api.php b/classes/api.php index 73fffc66e..234864b84 100644 --- a/classes/api.php +++ b/classes/api.php @@ -42,7 +42,7 @@ class API extends Handler { } function getApiLevel() { - $rv = array("level" => API_LEVEL); + $rv = array("level" => self::API_LEVEL); print $this->wrap(self::STATUS_OK, $rv); }