forked from GNUsocial/gnu-social
		
	use return-to method for UserProfile widget
This commit is contained in:
		@@ -285,8 +285,11 @@ class UserProfile extends Widget
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                        // return-to args, so we don't have to keep re-writing them
 | 
					                        // return-to args, so we don't have to keep re-writing them
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        $r2args = array('action' => 'showstream',
 | 
					                        list($action, $r2args) = $this->out->returnToArgs();
 | 
				
			||||||
                                        'nickname' => $this->profile->nickname);
 | 
					
 | 
				
			||||||
 | 
					                        // push the action into the list
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                        $r2args['action'] = $action;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        // block/unblock
 | 
					                        // block/unblock
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user