From 7b9c9dc208b26fe5b8e69f977352409c5c958467 Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 27 Mar 2020 14:46:55 +0000 Subject: [PATCH] Make SHM_FORM generate the correct targets --- core/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ];