]> git.wh0rd.org - tt-rss.git/blobdiff - classes/handler/public.php
add a wrapper for standard error codes returned by backend, also add explanation...
[tt-rss.git] / classes / handler / public.php
index e170a263192857291d3c4de99815e0159845eec9..46c74041c85c33a6de6b1036552ce2a8bac5ee80 100644 (file)
@@ -706,7 +706,7 @@ class Handler_Public extends Handler {
 
        function index() {
                header("Content-Type: text/plain");
-               print json_encode(array("error" => array("code" => 7)));
+               print error_json(13);
        }
 
        function forgotpass() {