git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit a45d9471 authored by mmn's avatar mmn

If $_REQUEST is empty, array_merge == null.

parent 10f17efc
...@@ -271,7 +271,7 @@ function main() ...@@ -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));
......
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