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:
Roeland Douma 2016-04-28 21:43:32 +02:00
commit 238dbe9252
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]);
}