prepend error code before error message if getUnread failed (closes #104)
This commit is contained in:
parent
8e83b64d80
commit
0599d09e01
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue