From ae4ade53a801309105ab3e0ae680dc9e186033c1 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 9 Apr 2010 15:19:04 -0700 Subject: [PATCH] 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 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(); -- 2.39.5