summaryrefslogtreecommitdiffstats
path: root/lib/private/Log.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Log.php')
-rw-r--r--lib/private/Log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php
index b76cb4f8c28..ef1b70d3cb9 100644
--- a/lib/private/Log.php
+++ b/lib/private/Log.php
@@ -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;
}
}