diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-10-09 23:39:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-09 23:39:09 +0200 |
commit | 8920c87dce39ecb89f20dcba0614db89f030f9b6 (patch) | |
tree | e58b1be675a22f23aab3ea93347c153f92d58ea2 | |
parent | 38104241a2d8d04135cb33d0147a631f7e87e822 (diff) | |
parent | ab4353457da60191f391082e8ba46f3985d988f3 (diff) | |
download | nextcloud-server-8920c87dce39ecb89f20dcba0614db89f030f9b6.tar.gz nextcloud-server-8920c87dce39ecb89f20dcba0614db89f030f9b6.zip |
Merge pull request #1658 from nextcloud/fix-log.condition
Default to empty string
-rw-r--r-- | lib/private/Log.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php index b76cb4f8c28..ef1b70d3cb9 100644 --- a/lib/private/Log.php +++ b/lib/private/Log.php @@ -277,7 +277,7 @@ class Log implements ILogger { $request = \OC::$server->getRequest(); // if token is found in the request change set the log condition to satisfied - if($request && hash_equals($logCondition['shared_secret'], $request->getParam('log_secret'))) { + if($request && hash_equals($logCondition['shared_secret'], $request->getParam('log_secret', ''))) { $this->logConditionSatisfied = true; } } |