X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fgroupblock.php;h=39f783397ad08e18e47448f5b490ea35dec66250;hb=4cd3a0756bdfba4589dbf1efeab9a2a509e9d566;hp=e52db6e111dc5fff6c2a84257fc3175a30d95ea1;hpb=c748933132b58ba3c837da3ad48979cfc6d52b8a;p=quix0rs-gnu-social.git diff --git a/actions/groupblock.php b/actions/groupblock.php index e52db6e111..39f783397a 100644 --- a/actions/groupblock.php +++ b/actions/groupblock.php @@ -117,7 +117,7 @@ class GroupblockAction extends RedirectingAction parent::handle($args); if ($_SERVER['REQUEST_METHOD'] == 'POST') { if ($this->arg('no')) { - $this->returnToArgs(); + $this->returnToPrevious(); } elseif ($this->arg('yes')) { $this->blockProfile(); } elseif ($this->arg('blockto')) { @@ -207,7 +207,7 @@ class GroupblockAction extends RedirectingAction return false; } - $this->returnToArgs(); + $this->returnToPrevious(); } /**