Make ownCloud work again in php 7.0.6

See https://bugs.php.net/bug.php?id=72117
This commit is contained in:
Roeland Jago Douma 2016-04-28 12:23:17 +02:00
parent ba0099f73a
commit eb11ed1851
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with 3 additions and 0 deletions

View File

@ -271,6 +271,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]);
}