]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
change profile argument to nickname
authorEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 19:14:30 +0000 (15:14 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 19:14:30 +0000 (15:14 -0400)
darcs-hash:20080517191430-84dde-bdaffcd7b2704a8a3636db7c7ebbc43c8d826198.gz

actions/showstream.php

index f608d80cb6b7bd15b11d62114e8cd6a0682eaec2..c4908101bbef597ae03afc8f8beeee6a99d8a082 100644 (file)
@@ -30,7 +30,7 @@ class ShowstreamAction extends StreamAction {
                
                parent::handle($args);
 
-               $nickname = common_canonical_nickname($this->arg('profile'));
+               $nickname = common_canonical_nickname($this->arg('nickname'));
                $user = User::staticGet('nickname', $nickname);
 
                if (!$user) {
@@ -171,7 +171,7 @@ class ShowstreamAction extends StreamAction {
                }
 
                common_element('a', array('href' => common_local_url('subscriptions', 
-                                                                                                                        array('profile' => $profile->nickname)),
+                                                                                                                        array('nickname' => $profile->nickname)),
                                                                  'class' => 'moresubscriptions'),
                                           _t('All subscriptions'));