If $_REQUEST is empty, array_merge == null.
This commit is contained in:
parent
10f17efc4f
commit
a45d9471ed
@ -271,7 +271,7 @@ function main()
|
|||||||
common_redirect(common_local_url($args['action'], $args));
|
common_redirect(common_local_url($args['action'], $args));
|
||||||
}
|
}
|
||||||
|
|
||||||
$args = array_merge($args, $_REQUEST);
|
$args = array_merge($args, $_REQUEST ?: []);
|
||||||
|
|
||||||
Event::handle('ArgsInitialize', array(&$args));
|
Event::handle('ArgsInitialize', array(&$args));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user