Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2020-02-07 01:19:10 +0300
committerGitHub <noreply@github.com>2020-02-07 01:19:10 +0300
commit40d169fe7c67993292f5e64498cd5b22d9fcc75f (patch)
treea61ee40372831067abf125bfc72c7d17aec54bb5 /plugins/Contents
parent76ac42c23dea9d098c24be1bade6f81c1dcd1a0f (diff)
Reduce risk of segmentation fault in visit log (#15471)
Diffstat (limited to 'plugins/Contents')
-rw-r--r--plugins/Contents/VisitorDetails.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Contents/VisitorDetails.php b/plugins/Contents/VisitorDetails.php
index acf3363d38..110966f986 100644
--- a/plugins/Contents/VisitorDetails.php
+++ b/plugins/Contents/VisitorDetails.php
@@ -31,6 +31,7 @@ class VisitorDetails extends VisitorDetailsAbstract
}
$view = new View('@Contents/_actionContent.twig');
+ $view->sendHeadersWhenRendering = false;
$view->action = $action;
$view->previousAction = $previousAction;
$view->visitInfo = $visitorDetails;
@@ -44,6 +45,7 @@ class VisitorDetails extends VisitorDetailsAbstract
}
$view = new View('@Contents/_actionTooltip');
+ $view->sendHeadersWhenRendering = false;
$view->action = $action;
return [[ 10, $view->render() ]];
}