aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework
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-28 12:23:17 +0200
commiteb11ed18512a1122c4d6f808ba990d7ba1abedbd (patch)
treebe91523c102029b57cf92c900a08b1dca0c45205 /lib/private/AppFramework
parentba0099f73abc133cfc88ad2d7a25b86677d1c111 (diff)
downloadnextcloud-server-eb11ed18512a1122c4d6f808ba990d7ba1abedbd.tar.gz
nextcloud-server-eb11ed18512a1122c4d6f808ba990d7ba1abedbd.zip
Make ownCloud work again in php 7.0.6
See https://bugs.php.net/bug.php?id=72117
Diffstat (limited to 'lib/private/AppFramework')
-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 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]);
}