From 8121e98210ada254bb146097f04c7e0345a2e206 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Sat, 12 Oct 2024 14:37:40 +0200 Subject: Another few fixes --- src/index.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/index.php') diff --git a/src/index.php b/src/index.php index e82d22a..6e1522c 100644 --- a/src/index.php +++ b/src/index.php @@ -12,7 +12,7 @@ use mystic\forum\utils\RequestUtils; header_remove("X-Powered-By"); -const MYSTICBB_VERSION = "0.4.5"; +const MYSTICBB_VERSION = "0.4.6"; if (($_SERVER["HTTP_USER_AGENT"] ?? "") === "") { http_response_code(403); @@ -291,7 +291,9 @@ $GLOBALS["currentUser"] = &$currentUser; function invalid_action(string $_action): never { http_response_code(404); - msg_error(__("Invalid or unknown action $_action")); + msg_error(__("Invalid or unknown action \"%action%\"", [ + "action" => $_action, + ])); exit; } -- cgit v1.2.3