diff --git a/core/util.inc.php b/core/util.inc.php index 77446970..8d067596 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -79,7 +79,7 @@ function make_link($page=null, $query=null) { } if(is_null($query)) { - return "$base/$page"; + return str_replace("//", "/", "$base/$page"); } else { if(strpos($base, "?")) {