If there's a DB error, script returns after catching the exception

This commit is contained in:
macno 2011-02-28 11:53:11 +01:00
parent 4e3537a12b
commit c246c17d3e

View File

@ -138,6 +138,7 @@ class JoingroupAction extends Action
// TRANS: %1$s is the joining user's nickname, $2$s is the group nickname for which the join failed.
$this->serverError(sprintf(_('Could not join user %1$s to group %2$s.'),
$cur->nickname, $this->group->nickname));
return;
}
if ($this->boolean('ajax')) {