From: Andrew Dolgov Date: Wed, 23 Aug 2006 05:27:17 +0000 (+0100) Subject: prepend error code before error message if getUnread failed (closes #104) X-Git-Tag: 1.2.3~29 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0599d09e016efccdb8c1c07d318d332f2c0a112f;p=tt-rss.git prepend error code before error message if getUnread failed (closes #104) --- diff --git a/backend.php b/backend.php index c1431f1a..ca040ec3 100644 --- a/backend.php +++ b/backend.php @@ -3981,7 +3981,7 @@ $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;