diff options
-rw-r--r-- | lib/util.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 1bc5b95b0..10a8a49d2 100644 --- a/lib/util.php +++ b/lib/util.php @@ -976,7 +976,11 @@ function common_fancy_url($action, $args=NULL) { default: return common_simple_url($action, $args); } case 'sup': - return common_path('main/sup'); + if ($args && isset($args['seconds'])) { + return common_path('main/sup?seconds='.$args['seconds']); + } else { + return common_path('main/sup'); + } default: return common_simple_url($action, $args); } |