Fix E_NOTICE and use of limit on userrss

This commit is contained in:
Brion Vibber 2010-04-09 15:19:04 -07:00
parent 85fb32a359
commit ae4ade53a8
1 changed files with 1 additions and 1 deletions

View File

@ -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();