fix: style
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-09-20 15:49:26 +08:00
parent bd09e2aae6
commit 08624f88e0
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -97,7 +97,7 @@ class HTML {
// } // }
if ($param) { if ($param) {
$url .= $path.'?'.HTML::query_string_encode($param); $url .= $path.'?'.HTML::query_string_encode($param);
} else if ($path != '/') { } elseif ($path != '/') {
$url .= rtrim($path, '/'); $url .= rtrim($path, '/');
} else { } else {
$url = $path; $url = $path;