From c246c17d3e649d8431d6ac660b4dfedf8076c879 Mon Sep 17 00:00:00 2001 From: macno Date: Mon, 28 Feb 2011 11:53:11 +0100 Subject: [PATCH] If there's a DB error, script returns after catching the exception --- actions/joingroup.php | 1 + 1 file changed, 1 insertion(+) diff --git a/actions/joingroup.php b/actions/joingroup.php index 7beaf4f64a..4c45ca8b9d 100644 --- a/actions/joingroup.php +++ b/actions/joingroup.php @@ -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')) {