diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-02-07 01:19:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-07 01:19:10 +0300 |
commit | 40d169fe7c67993292f5e64498cd5b22d9fcc75f (patch) | |
tree | a61ee40372831067abf125bfc72c7d17aec54bb5 /plugins/Contents | |
parent | 76ac42c23dea9d098c24be1bade6f81c1dcd1a0f (diff) |
Reduce risk of segmentation fault in visit log (#15471)
Diffstat (limited to 'plugins/Contents')
-rw-r--r-- | plugins/Contents/VisitorDetails.php | 2 |
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() ]]; } |