From 90961bac693ba4ec840cdea30dc16a660555e85b Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Mon, 3 Mar 2025 16:48:25 -0700 Subject: [PATCH] Fix last line issue --- webroot/dashboard/layout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/dashboard/layout.php b/webroot/dashboard/layout.php index 6db1cd8..7e23cd4 100644 --- a/webroot/dashboard/layout.php +++ b/webroot/dashboard/layout.php @@ -30,7 +30,7 @@ if (isset($role)) { } $lines = explode("\n", $content); -foreach ($lines as $i => &$line) if ($i > 0) $line = " " . $line; +foreach ($lines as $i => &$line) if ($i > 0 && $i < count($lines) - 1) $line = " " . $line; $content = implode("\n", $lines); ?>