diff --git a/lib/private/Log.php b/lib/private/Log.php index 6268de2bd5..0de5f34dec 100644 --- a/lib/private/Log.php +++ b/lib/private/Log.php @@ -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; } }