From ae4ade53a801309105ab3e0ae680dc9e186033c1 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 9 Apr 2010 15:19:04 -0700 Subject: Fix E_NOTICE and use of limit on userrss --- actions/userrss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/userrss.php b/actions/userrss.php index e03eb9356..8f597e625 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(); -- cgit v1.2.3-54-g00ecf