prepend error code before error message if getUnread failed (closes #104)

This commit is contained in:
Andrew Dolgov 2006-08-23 06:27:17 +01:00
parent 8e83b64d80
commit 0599d09e01

View file

@ -3981,7 +3981,7 @@
$uid = db_fetch_result($result, 0, "id"); $uid = db_fetch_result($result, 0, "id");
print getGlobalUnread($link, $uid); print getGlobalUnread($link, $uid);
} else { } else {
print "Error: user not found"; print "-1;User not found";
} }
$print_exec_time = false; $print_exec_time = false;