From: Brion Vibber Date: Fri, 9 Apr 2010 22:19:04 +0000 (-0700) Subject: Fix E_NOTICE and use of limit on userrss X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ae4ade53a801309105ab3e0ae680dc9e186033c1;p=quix0rs-gnu-social.git Fix E_NOTICE and use of limit on userrss --- diff --git a/actions/userrss.php b/actions/userrss.php index e03eb93566..8f597e6259 100644 --- a/actions/userrss.php +++ b/actions/userrss.php @@ -72,7 +72,7 @@ class UserrssAction extends Rss10Action { $notice = $this->user->getNotices( 0, - ($limit == 0) ? NOTICES_PER_PAGE : $limit + ($this->limit == 0) ? NOTICES_PER_PAGE : $this->limit ); $notices = array();