From: Andrew Dolgov Date: Tue, 13 Dec 2011 12:51:49 +0000 (+0400) Subject: api: fix API_LEVEL X-Git-Tag: 1.5.8~16 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a3b5394aaf793d045256f67eb6fad0616b1ff950;p=tt-rss.git api: fix API_LEVEL --- 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); }