We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 0580e824 authored by Evan Prodromou's avatar Evan Prodromou

use return-to method for UserProfile widget

parent 968058c6
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment