Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorC. Montero Luque <cmonteroluque@users.noreply.github.com>2016-05-02 11:09:23 +0300
committerC. Montero Luque <cmonteroluque@users.noreply.github.com>2016-05-02 11:09:23 +0300
commit218a206a6eee3c31abcbc05888648180f4f2b3fb (patch)
tree36bfac64fdf1579fa0fd5f7a5933c769097992fd
parentec1a66b8a6cf57e421a9799b5f10359891af29ec (diff)
parenta834531aef418688538adb809a796cf830c5385b (diff)
Merge pull request #24343 from owncloud/stable9_24326
[Stable 9] Make ownCloud work again in php 7.0.6
-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 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]);
}