]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
shownotices takes user rather than profile in showstream
authorEvan Prodromou <evan@controlyourself.ca>
Sun, 28 Sep 2008 12:06:16 +0000 (08:06 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Sun, 28 Sep 2008 12:06:16 +0000 (08:06 -0400)
darcs-hash:20080928120616-5ed1f-fc0b136afff897a2d69f88dd83b6fc5df4f675b6.gz

actions/showstream.php

index d0f72280b38233d09388976671909478f0111d42..5650038b340f403137f70c1ce4e474e489966dbb 100644 (file)
@@ -58,7 +58,7 @@ class ShowstreamAction extends StreamAction {
 
                $this->show_profile($profile);
 
-               $this->show_notices($profile);
+               $this->show_notices($user);
 
                common_show_footer();
        }
@@ -335,7 +335,7 @@ class ShowstreamAction extends StreamAction {
                common_element_end('div');
        }
 
-       function show_notices($profile) {
+       function show_notices($user) {
 
                $page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
 
@@ -359,7 +359,7 @@ class ShowstreamAction extends StreamAction {
                }
                
                common_pagination($page>1, $cnt>NOTICES_PER_PAGE, $page,
-                                                 'showstream', array('nickname' => $profile->nickname));
+                                                 'showstream', array('nickname' => $user->nickname));
        }
 
        function show_last_notice($profile) {