mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #1658 from nextcloud/fix-log.condition
Default to empty string
This commit is contained in:
commit
8920c87dce
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue