X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FMapstraction%2Factions%2Fallmap.php;h=21bdf62eaa94594a5c7615e3dcaa46ddcc61f09c;hb=f9698598c6aa74d5f5e060989871f8e90d310adf;hp=d1a9fddabb467b269cf647eed081c80ebd65fb7e;hpb=de55d8f83bb2ecf9461510768fe7147aec592055;p=quix0rs-gnu-social.git diff --git a/plugins/Mapstraction/actions/allmap.php b/plugins/Mapstraction/actions/allmap.php index d1a9fddabb..21bdf62eaa 100644 --- a/plugins/Mapstraction/actions/allmap.php +++ b/plugins/Mapstraction/actions/allmap.php @@ -47,8 +47,7 @@ class AllmapAction extends MapAction function prepare($args) { if (parent::prepare($args)) { - $cur = common_current_user(); - $stream = new InboxNoticeStream($this->user, $cur->getProfile()); + $stream = new InboxNoticeStream($this->user->getProfile(), $this->scoped); $this->notice = $stream->getNotices(($this->page-1)*NOTICES_PER_PAGE, NOTICES_PER_PAGE + 1, null,