diff options
author | Roeland Douma <rullzer@users.noreply.github.com> | 2016-04-28 21:43:32 +0200 |
---|---|---|
committer | Roeland Douma <rullzer@users.noreply.github.com> | 2016-04-28 21:43:32 +0200 |
commit | 238dbe9252e50ce38449045a8c2e8115a082bd1a (patch) | |
tree | 42abb0b4905630bb425a0967673dc38164394448 /lib | |
parent | 0e774e0fd8d11ee9995d7eb485387a1e2bd5f3de (diff) | |
parent | eb11ed18512a1122c4d6f808ba990d7ba1abedbd (diff) | |
download | nextcloud-server-238dbe9252e50ce38449045a8c2e8115a082bd1a.tar.gz nextcloud-server-238dbe9252e50ce38449045a8c2e8115a082bd1a.zip |
Merge pull request #24326 from owncloud/fix_for_php_7_0_6
Make ownCloud work again in php 7.0.6
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/AppFramework/Http/Request.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/AppFramework/Http/Request.php b/lib/private/AppFramework/Http/Request.php index 7cd8cedcfdd..fb6f1415fe9 100644 --- a/lib/private/AppFramework/Http/Request.php +++ b/lib/private/AppFramework/Http/Request.php @@ -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]); } |