mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Prevent warning decoding content
This commit is contained in:
parent
fb9e75edb6
commit
31a8949adf
1 changed files with 3 additions and 1 deletions
|
|
@ -410,7 +410,9 @@ class Request implements \ArrayAccess, \Countable, IRequest {
|
|||
}
|
||||
}
|
||||
|
||||
$this->items['parameters'] = array_merge($this->items['parameters'], $params);
|
||||
if (is_array($params)) {
|
||||
$this->items['parameters'] = array_merge($this->items['parameters'], $params);
|
||||
}
|
||||
$this->contentDecoded = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue