mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 05:25:15 +02:00
Fixes: Uncaught Exception TypeError: "array_merge(): Argument #1 must be of type array, int given"
This commit is contained in:
parent
c746017cda
commit
48372faec6
1 changed files with 9 additions and 1 deletions
|
@ -573,6 +573,14 @@ class App
|
|||
|
||||
// Processes data from GET requests
|
||||
$httpinput = $httpInput->process();
|
||||
|
||||
if (!is_array($httpinput['variables'])) {
|
||||
$httpinput['variables'] = [];
|
||||
}
|
||||
if (!is_array($httpinput['files'])) {
|
||||
$httpinput['files'] = [];
|
||||
}
|
||||
|
||||
$input = array_merge($httpinput['variables'], $httpinput['files'], $request);
|
||||
|
||||
// Let the module run its internal process (init, get, post, ...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue