Minor: code cleanup

This commit is contained in:
billz 2024-11-10 00:02:47 -08:00
parent 6e5ef8a866
commit 6fa4f3d5a6

View file

@ -550,7 +550,7 @@ function renderTemplate($name, $__template_data = [], $pluginName = null)
$file = realpath(dirname(__FILE__) . "/../templates/$name.php");
}
if (!file_exists($file)) {
return "<br>template $name ($file) not found";
return "template $name ($file) not found";
}
if (is_array($__template_data)) {