correct urls from fancy url for show-message

darcs-hash:20080917185950-5ed1f-27fc1ee8d68df57b8dd687eb4e701beba2269924.gz
This commit is contained in:
Evan Prodromou 2008-09-17 14:59:50 -04:00
parent 46965a816d
commit cdf125c3e4

View 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: