From 4e59a8a4bba995178e942655804c08ea9ccffbaa Mon Sep 17 00:00:00 2001 From: Johannes Steu Date: Fri, 10 May 2019 14:38:17 +0200 Subject: [PATCH] Fix backend requests --- Classes/Aspect/CollectDebugInformationAspect.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Classes/Aspect/CollectDebugInformationAspect.php b/Classes/Aspect/CollectDebugInformationAspect.php index c3ba304..e215474 100644 --- a/Classes/Aspect/CollectDebugInformationAspect.php +++ b/Classes/Aspect/CollectDebugInformationAspect.php @@ -81,6 +81,11 @@ public function addDebugValues(JoinPointInterface $joinPoint): string $debugOutput = ''; $htmlEndPosition = strpos($output, ''); + + if ($htmlEndPosition === false ) { + return $output . $debugOutput; + } + return substr($output, 0, $htmlEndPosition) . $debugOutput . substr($output, $htmlEndPosition); }