summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-17 14:59:50 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-17 14:59:50 -0400
commitcdf125c3e481aab16ea74e176c9664357a2a3fd9 (patch)
tree51f4504e79cf5cdd5a385947a77fdbc6abbfe4d6
parent46965a816d4d1f25da4540824ac92dfba7d4d49c (diff)
correct urls from fancy url for show-message
darcs-hash:20080917185950-5ed1f-27fc1ee8d68df57b8dd687eb4e701beba2269924.gz
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 2fdcb37e3..69fe2a898 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -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: