Merge pull request #1658 from nextcloud/fix-log.condition

Default to empty string
This commit is contained in:
Morris Jobke 2016-10-09 23:39:09 +02:00 committed by GitHub
commit 8920c87dce
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ class Log implements ILogger {
$request = \OC::$server->getRequest(); $request = \OC::$server->getRequest();
// if token is found in the request change set the log condition to satisfied // 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; $this->logConditionSatisfied = true;
} }
} }