From a3b5394aaf793d045256f67eb6fad0616b1ff950 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 13 Dec 2011 16:51:49 +0400 Subject: [PATCH] api: fix API_LEVEL --- classes/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5