aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-04-28 12:23:17 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-04-29 11:27:20 +0200
commit2fef88c5a69273a5e69200ef12db6a5610d08233 (patch)
tree227f953d3b821e404aa7c591328609226eab94a8
parent2b183341626192f4808c2c67df1329499ed59f98 (diff)
downloadnextcloud-server-2fef88c5a69273a5e69200ef12db6a5610d08233.tar.gz
nextcloud-server-2fef88c5a69273a5e69200ef12db6a5610d08233.zip
Make ownCloud work again in php 7.0.6
See https://bugs.php.net/bug.php?id=72117
-rw-r--r--lib/private/appframework/http/request.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/appframework/http/request.php b/lib/private/appframework/http/request.php
index 8400882b88f..284c278d85b 100644
--- a/lib/private/appframework/http/request.php
+++ b/lib/private/appframework/http/request.php
@@ -243,6 +243,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]);
}