diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-28 13:23:17 +0300 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-05-01 13:31:26 +0300 |
commit | a834531aef418688538adb809a796cf830c5385b (patch) | |
tree | 36bfac64fdf1579fa0fd5f7a5933c769097992fd | |
parent | ec1a66b8a6cf57e421a9799b5f10359891af29ec (diff) |
Make ownCloud work again in php 7.0.6
See https://bugs.php.net/bug.php?id=72117
Basically a bugfix in php caused this issue. So isset is not called more
often. We have to catch this.
-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 c415e606dca..bdd40ef1573 100644 --- a/lib/private/appframework/http/request.php +++ b/lib/private/appframework/http/request.php @@ -264,6 +264,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]); } |