X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fredirect.php;h=c18a27f3a3a05ee8de0764eae47b68e8d95bce1c;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=9cb03708db8a94ba0b78553cf7911fe0c05be856;hpb=7d64d8c78cfa102b91975598ef9e574d2ef14b8c;p=quix0rs-gnu-social.git diff --git a/actions/redirect.php b/actions/redirect.php index 9cb03708db..c18a27f3a3 100644 --- a/actions/redirect.php +++ b/actions/redirect.php @@ -51,7 +51,7 @@ class RedirectAction extends Action * @return boolean read-only flag (false) */ - function isReadOnly($args) + function isReadOnly(array $args=array()) { return true; } @@ -63,7 +63,7 @@ class RedirectAction extends Action * * @return nothing */ - function handle($args) + function handle(array $args=array()) { common_redirect(common_local_url($this->arg('nextAction'), $this->arg('args'))); }