]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix replies tab pagination issue
authorsupport <support@bambeeq.com>
Wed, 1 Oct 2008 01:07:41 +0000 (21:07 -0400)
committersupport <support@bambeeq.com>
Wed, 1 Oct 2008 01:07:41 +0000 (21:07 -0400)
Problem:
Before / After links in replies tab don't work. When clicked they show "No such user" error.
How to reproduce:
1. Access http://identi.ca/evan/replies
2. Click on Before button

darcs-hash:20081001010741-352e0-4cbf4afc0f12aa850c1cc7145324477157f24d98.gz

actions/replies.php

index c49960370f2738786c6c3aed2131de723485a5ce..f5bc2ce1a43801f0ebc5a35d87a9cf8cae61dcee 100644 (file)
@@ -96,6 +96,6 @@ class RepliesAction extends StreamAction {
                }
 
                common_pagination($page > 1, $cnt > NOTICES_PER_PAGE,
-                                                 $page, 'replies', array('nickname' => $profile->nickname));
+                                                 $page, 'replies', array('nickname' => $user->nickname));
        }
 }