If $_REQUEST is empty, array_merge == null.

This commit is contained in:
Mikael Nordfeldth 2017-09-10 14:02:16 +02:00
parent 10f17efc4f
commit a45d9471ed

View File

@ -271,7 +271,7 @@ function main()
common_redirect(common_local_url($args['action'], $args));
}
$args = array_merge($args, $_REQUEST);
$args = array_merge($args, $_REQUEST ?: []);
Event::handle('ArgsInitialize', array(&$args));