Merge pull request #2456 from nextcloud/stable10-1658

[stable10] Default to empty string
This commit is contained in:
Morris Jobke 2016-12-02 10:38:07 +01:00 committed by GitHub
commit 37aa1da951
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,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;
}
}