From: macno Date: Mon, 28 Feb 2011 10:53:11 +0000 (+0100) Subject: If there's a DB error, script returns after catching the exception X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c246c17d3e649d8431d6ac660b4dfedf8076c879;p=quix0rs-gnu-social.git If there's a DB error, script returns after catching the exception --- 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')) {