diff options
author | Evan Prodromou <evan@status.net> | 2009-11-16 17:54:50 +0100 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-11-16 17:54:50 +0100 |
commit | 0580e824f0d650d9f9091be131916945951faba5 (patch) | |
tree | 761f278182c0358ebef59385355924afa45ed6da /lib/userprofile.php | |
parent | 968058c68b0d23e3dccc85301d78dccf8bcc0ba1 (diff) |
use return-to method for UserProfile widget
Diffstat (limited to 'lib/userprofile.php')
-rw-r--r-- | lib/userprofile.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/userprofile.php b/lib/userprofile.php index dedac5bf1..ee205af85 100644 --- a/lib/userprofile.php +++ b/lib/userprofile.php @@ -285,8 +285,11 @@ class UserProfile extends Widget // return-to args, so we don't have to keep re-writing them - $r2args = array('action' => 'showstream', - 'nickname' => $this->profile->nickname); + list($action, $r2args) = $this->out->returnToArgs(); + + // push the action into the list + + $r2args['action'] = $action; // block/unblock |