From a5d77d44138fdafe4285efea46dda19f45c8e0e3 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Wed, 20 Feb 2019 17:20:16 +0100 Subject: [PATCH] adding test --- rendertime/rendertime.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rendertime/rendertime.php b/rendertime/rendertime.php index 281059d7..5560433e 100644 --- a/rendertime/rendertime.php +++ b/rendertime/rendertime.php @@ -54,8 +54,10 @@ function rendertime_page_end(&$a, &$o) //round($profiler->get('plugin'), 3) ) . ''; - $o .= '
';
-		$o .= $profiler->getRendertimeString();
-		$o .= '
'; + if ($profiler->isRendertime()) { + $o .= '
';
+			$o .= $profiler->getRendertimeString();
+			$o .= '
'; + } } } -- 2.39.5