From a834531aef418688538adb809a796cf830c5385b Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 28 Apr 2016 12:23:17 +0200 Subject: 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. --- lib/private/appframework/http/request.php | 3 +++ 1 file changed, 3 insertions(+) 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]); } -- cgit v1.2.3