diff --git a/core/util.php b/core/util.php index b72048df..37991093 100644 --- a/core/util.php +++ b/core/util.php @@ -677,7 +677,7 @@ function SHM_FORM(string $target, string $method="POST", bool $multipart=false, global $user; $attrs = [ - "action"=>$target, + "action"=>make_link($target), "method"=>$method ];