Merge pull request #24326 from owncloud/fix_for_php_7_0_6
Make ownCloud work again in php 7.0.6
This commit is contained in:
commit
238dbe9252
|
@ -271,6 +271,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