Merge pull request #24343 from owncloud/stable9_24326

[Stable 9] Make ownCloud work again in php 7.0.6
This commit is contained in:
C. Montero Luque 2016-05-02 04:09:23 -04:00
commit 218a206a6e
1 changed files with 3 additions and 0 deletions

View File

@ -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]);
} }