mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue