We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 6859271f authored by P. J. McDermott's avatar P. J. McDermott

Catch Exception from Server::getUserList().

Also remove a stray echo statement in nixtape/users.php.
parent 7969c97a
......@@ -35,9 +35,11 @@ if(!isset($_GET['alpha'])) {
}
$users = Server::getUserList($alpha);
echo $users;
try {
$users = Server::getUserList($alpha);
} catch (Exception $e) {
$users = array();
}
$smarty->assign('userlist', $users);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment