forked from GNUsocial/gnu-social
handle seconds argument to SUP
darcs-hash:20081026150623-5ed1f-2aff71bf8faf4957b09d968d60851b4f74f738c4.gz
This commit is contained in:
parent
a528cff1a1
commit
91ce2ecd70
@ -976,7 +976,11 @@ function common_fancy_url($action, $args=NULL) {
|
|||||||
default: return common_simple_url($action, $args);
|
default: return common_simple_url($action, $args);
|
||||||
}
|
}
|
||||||
case 'sup':
|
case 'sup':
|
||||||
|
if ($args && isset($args['seconds'])) {
|
||||||
|
return common_path('main/sup?seconds='.$args['seconds']);
|
||||||
|
} else {
|
||||||
return common_path('main/sup');
|
return common_path('main/sup');
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
return common_simple_url($action, $args);
|
return common_simple_url($action, $args);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user