BUGFIX: Demomode can run very quickly

main
Jeroen De Meerleer 1 month ago
parent b3e25ac14b
commit a8f7e10477
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
  1. 2
      src/Twig/AppExtension.php

@ -34,7 +34,7 @@ class AppExtension extends AbstractExtension
$time = round($time, 3);
$return .= ($time != 0 || !empty($return)) ? "{$time}s " : '';
return $return;
return (!empty($return)) ? trim($return) : '0.000s';
}
function parseTags(string $text) {

Loading…
Cancel
Save