]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Favorite/lib/popularnoticesection.php
section control over their notice lists + HTML id stuff
[quix0rs-gnu-social.git] / plugins / Favorite / lib / popularnoticesection.php
index 2000d302d48fa95b12b46dcea5d48d60758fe244..648d7a877adf88a6768f0f684e4ee50afdf2c150 100644 (file)
@@ -47,7 +47,7 @@ class PopularNoticeSection extends NoticeSection
 {
     protected $viewer;
 
-    function __construct($out, $viewer)
+    function __construct($out, Profile $viewer=null)
     {
         parent::__construct($out);
         $this->viewer = $viewer;
@@ -67,7 +67,7 @@ class PopularNoticeSection extends NoticeSection
 
     function divId()
     {
-        return 'popular_notices';
+        return 'popular_section';
     }
 
     function moreUrl()