From: Mikael Nordfeldth Date: Sun, 10 Sep 2017 12:02:16 +0000 (+0200) Subject: If $_REQUEST is empty, array_merge == null. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a45d9471edb09df64a6c1d8e8521c84e4644cd59;p=quix0rs-gnu-social.git If $_REQUEST is empty, array_merge == null. --- diff --git a/index.php b/index.php index d96f2396e4..84a992efb3 100644 --- a/index.php +++ b/index.php @@ -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));