X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fshowgroup.php;h=da95b6a411b4b811c4ae4bc81edb21fdd27c2130;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=e2b5e8d547cb6ac8eea41e8f7e1f3c0592ace1df;hpb=fc047bd6e6208be5832c9855b4054c25b189776c;p=quix0rs-gnu-social.git diff --git a/actions/showgroup.php b/actions/showgroup.php index e2b5e8d547..da95b6a411 100644 --- a/actions/showgroup.php +++ b/actions/showgroup.php @@ -56,7 +56,7 @@ class ShowgroupAction extends GroupAction * * @return boolean true */ - function isReadOnly($args) + function isReadOnly(array $args=array()) { return true; } @@ -149,7 +149,7 @@ class ShowgroupAction extends GroupAction $user = common_current_user(); if (!empty($user) && $user->streamModeOnly()) { - $nl = new NoticeList($this->notice, $this); + $nl = new PrimaryNoticeList($this->notice, $this, array('show_n'=>NOTICES_PER_PAGE)); } else { $nl = new ThreadedNoticeList($this->notice, $this, $this->userProfile); }