]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix url for redirect
authorEvan Prodromou <evan@prodromou.name>
Fri, 20 Jun 2008 07:26:32 +0000 (03:26 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 20 Jun 2008 07:26:32 +0000 (03:26 -0400)
darcs-hash:20080620072632-84dde-d1e1b1593a882b6faa4fcd21c36200398ee49286.gz

actions/userbyid.php

index 9de32406a5502a99702fb8ededb7f29e1ce3c4d7..501e165ab0ace55c1827ad3b5c217081fa5e2641 100644 (file)
@@ -30,7 +30,8 @@ class UserbyidAction extends Action {
                if (!$id) {
                        $this->client_error(_t('No such user.'));
                }
-               common_redirect('showstream',
-                       array('nickname' => $user->nickname));
+               $url=common_local_url('showstream',
+                               array('nickname' => $user->nickname));
+               common_redirect($url, 303);
        }
 }