mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Make ownCloud work again in php 7.0.6
See https://bugs.php.net/bug.php?id=72117 Basically a bugfix in php caused this issue. So isset is not called more often. We have to catch this.
This commit is contained in:
parent
ec1a66b8a6
commit
a834531aef
1 changed files with 3 additions and 0 deletions
|
|
@ -264,6 +264,9 @@ class Request implements \ArrayAccess, \Countable, IRequest {
|
|||
* @return bool
|
||||
*/
|
||||
public function __isset($name) {
|
||||
if (in_array($name, $this->allowedKeys, true)) {
|
||||
return true;
|
||||
}
|
||||
return isset($this->items['parameters'][$name]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue