X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fshowstream.php;h=7ccdc894ff82c12e2ce9f09316e83971a89fa989;hb=31b5ae1523c4f64159f00b32683912da1a9fb474;hp=f339e08987a78484c6be3303c67943539be909d3;hpb=78ac9df2a626fe1da4f9d864ca17ae19ee6d1c75;p=quix0rs-gnu-social.git diff --git a/actions/showstream.php b/actions/showstream.php index f339e08987..7ccdc894ff 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -68,7 +68,7 @@ class ShowstreamAction extends StreamAction { $cur = common_current_user(); if ($cur && $cur->id == $user->id) { - common_notice_form(); + common_notice_form('showstream'); } $this->views_menu(); @@ -204,7 +204,8 @@ class ShowstreamAction extends StreamAction { $subs = DB_DataObject::factory('subscription'); $subs->subscriber = $profile->id; - + $subs->orderBy('created DESC'); + # We ask for an extra one to know if we need to do another page $subs->limit(0, SUBSCRIPTIONS + 1);