From 0599d09e016efccdb8c1c07d318d332f2c0a112f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Aug 2006 06:27:17 +0100 Subject: [PATCH] prepend error code before error message if getUnread failed (closes #104) --- backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5