From: Philipp Holzer Date: Wed, 20 Feb 2019 16:20:16 +0000 (+0100) Subject: adding test X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a5d77d44138fdafe4285efea46dda19f45c8e0e3;p=friendica-addons.git adding test --- 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 .= '
'; + } } }