forked from GNUsocial/gnu-social
		
	show correct favorites link
This commit is contained in:
		@@ -69,6 +69,12 @@ class PopularNoticeSection extends NoticeSection
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    function moreUrl()
 | 
					    function moreUrl()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        if (common_config('singleuser', 'enabled')) {
 | 
				
			||||||
 | 
					            $user = User::singleUser();
 | 
				
			||||||
 | 
					            common_local_url('showfavorites', array('nickname' =>
 | 
				
			||||||
 | 
					                                                    $user->nickname));
 | 
				
			||||||
 | 
					        } else {
 | 
				
			||||||
            return common_local_url('favorited');
 | 
					            return common_local_url('favorited');
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user