]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/subscribers.php
Maintain 'page' parameter for block from subscribers list, block & make-admin from...
[quix0rs-gnu-social.git] / actions / subscribers.php
index 6dda7312d67bf7eafb408375f30c6641435951e5..6fdf43e2ccdd548855985172773f10e6e7b6a880 100644 (file)
@@ -157,9 +157,13 @@ class SubscribersListItem extends SubscriptionListItem
         $user = common_current_user();
 
         if (!empty($user) && $this->owner->id == $user->id) {
-            $bf = new BlockForm($this->out, $this->profile,
-                                array('action' => 'subscribers',
-                                      'nickname' => $this->owner->nickname));
+            $returnto = array('action' => 'subscribers',
+                              'nickname' => $this->owner->nickname);
+            $page = $this->out->arg('page');
+            if ($page) {
+                $returnto['param-page'] = $page;
+            }
+            $bf = new BlockForm($this->out, $this->profile, $returnto);
             $bf->show();
         }
     }