From 08624f88e037d236a01c6aa0c90c42279e0b3941 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Tue, 20 Sep 2022 15:49:26 +0800 Subject: [PATCH] fix: style --- web/app/models/HTML.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/models/HTML.php b/web/app/models/HTML.php index e1d7dd7..c3ebf9b 100644 --- a/web/app/models/HTML.php +++ b/web/app/models/HTML.php @@ -97,7 +97,7 @@ class HTML { // } if ($param) { $url .= $path.'?'.HTML::query_string_encode($param); - } else if ($path != '/') { + } elseif ($path != '/') { $url .= rtrim($path, '/'); } else { $url = $path;