diff --git a/lib/util.php b/lib/util.php index 36854eee9b..1a83f0fffa 100644 --- a/lib/util.php +++ b/lib/util.php @@ -730,7 +730,11 @@ function common_fancy_url($action, $args=NULL) { case 'openidsettings': return common_path('settings/openid'); case 'newnotice': - return common_path('notice/new'); + if ($args && $args['replyto']) { + return common_path('notice/new?replyto='.$args['replyto']); + } else { + return common_path('notice/new'); + } case 'shownotice': return common_path('notice/'.$args['notice']); case 'xrds':