We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit a45d9471 authored by mattl's avatar mattl

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