]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix E_NOTICE and use of limit on userrss
authorBrion Vibber <brion@pobox.com>
Fri, 9 Apr 2010 22:19:04 +0000 (15:19 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 9 Apr 2010 22:19:04 +0000 (15:19 -0700)
actions/userrss.php

index e03eb93566d3c96dae04c8e6526a2f5835362996..8f597e625903558468a9e324e04fc8b71a9eb718 100644 (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();