Merge pull request #24343 from owncloud/stable9_24326
[Stable 9] Make ownCloud work again in php 7.0.6
This commit is contained in:
commit
218a206a6e
|
@ -264,6 +264,9 @@ class Request implements \ArrayAccess, \Countable, IRequest {
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function __isset($name) {
|
public function __isset($name) {
|
||||||
|
if (in_array($name, $this->allowedKeys, true)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
return isset($this->items['parameters'][$name]);
|
return isset($this->items['parameters'][$name]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue