git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 945bdf64 authored by Evan Prodromou's avatar Evan Prodromou

show correct favorites link

parent baa17381
......@@ -69,6 +69,12 @@ class PopularNoticeSection extends NoticeSection
function moreUrl()
{
return common_local_url('favorited');
if (common_config('singleuser', 'enabled')) {
$user = User::singleUser();
common_local_url('showfavorites', array('nickname' =>
$user->nickname));
} else {
return common_local_url('favorited');
}
}
}
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