]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correct urls from fancy url for show-message
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 17 Sep 2008 18:59:50 +0000 (14:59 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 17 Sep 2008 18:59:50 +0000 (14:59 -0400)
darcs-hash:20080917185950-5ed1f-27fc1ee8d68df57b8dd687eb4e701beba2269924.gz

lib/util.php

index 2fdcb37e396fffc9461e720667aa8bf32ac9dfa0..69fe2a89841a77eca610d33646f5358b85adaa83 100644 (file)
@@ -935,7 +935,7 @@ function common_fancy_url($action, $args=NULL) {
                        return common_path($args['nickname'].'/favorites');
                }
         case 'showmessage':
-               return common_path('message/' . $args['id']);
+               return common_path('message/' . $args['message']);
         case 'newmessage':
                return common_path('message/new' . (($args) ? ('?' . http_build_query($args)) : ''));
         default: