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;