Merge pull request #2456 from nextcloud/stable10-1658
[stable10] Default to empty string
This commit is contained in:
commit
37aa1da951
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue