GitHost.io will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at https://about.gitlab.com/gitlab-hosted/#githost-is-shutting-down-on-june-1st-2019

Commit a45d9471 authored by mmn's avatar mmn

If $_REQUEST is empty, array_merge == null.

parent 10f17efc
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment