]> git.wh0rd.org - tt-rss.git/commitdiff
api: fix API_LEVEL
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 13 Dec 2011 12:51:49 +0000 (16:51 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 13 Dec 2011 12:51:49 +0000 (16:51 +0400)
classes/api.php

index 73fffc66e4b7eb63720bb7387ed6f0547b4f8cd3..234864b8479e2a473a79b2f1849b65d15cc7cde2 100644 (file)
@@ -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);
        }