X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FNotice_tag.php;h=9d6bec6d2f401b2ae4ec7f8cdd971198815c84f9;hb=1981cb76622977ed3a0a480bfcb427b09ca3c688;hp=3d7658a1acfe19ed64e08f2c0d6ee152f43c2e4c;hpb=861e838adda95bb3b6144ce52468459ca9cb191c;p=quix0rs-gnu-social.git diff --git a/classes/Notice_tag.php b/classes/Notice_tag.php index 3d7658a1ac..9d6bec6d2f 100644 --- a/classes/Notice_tag.php +++ b/classes/Notice_tag.php @@ -55,9 +55,10 @@ class Notice_tag extends Managed_DataObject static function getStream($tag, $offset=0, $limit=20, $sinceId=0, $maxId=0) { - $stream = new TagNoticeStream($tag); - - return $stream->getNotices($offset, $limit, $sinceId, $maxId); + // FIXME: Get the Profile::current value some other way + // to avoid confusino between queue processing and session. + $stream = new TagNoticeStream($tag, Profile::current()); + return $stream; } function blowCache($blowLast=false)