diff --git a/classes/api.php b/classes/api.php index 73fffc66..234864b8 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); }