]> git.wh0rd.org Git - tt-rss.git/commitdiff
prepend error code before error message if getUnread failed (closes #104)
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 23 Aug 2006 05:27:17 +0000 (06:27 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 23 Aug 2006 05:27:17 +0000 (06:27 +0100)
backend.php

index c1431f1ad7e86eb712b9bf618660c5689c1fe00d..ca040ec364ad7d286c663893be7203373068d1b5 100644 (file)
                        $uid = db_fetch_result($result, 0, "id");
                        print getGlobalUnread($link, $uid);
                } else {
-                       print "Error: user not found";
+                       print "-1;User not found";
                }
 
                $print_exec_time = false;