From: Evan Prodromou Date: Wed, 9 Jul 2008 07:28:33 +0000 (-0400) Subject: accept replyto for fancy newnotice URL X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c8162f7d978c56c29a504302419b5569c0aa37f3;p=quix0rs-gnu-social.git accept replyto for fancy newnotice URL darcs-hash:20080709072833-84dde-42c600c5facb073f502318cae389832bd2115927.gz --- 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':