From 307b61ad625956e478c16f406061c9751baa928a Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Fri, 11 Oct 2024 14:42:25 +0200 Subject: i18n fixes --- src/application/actions/viewuser/_common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/application/actions/viewuser/_common.php') diff --git a/src/application/actions/viewuser/_common.php b/src/application/actions/viewuser/_common.php index 3f8236c..52d0d05 100644 --- a/src/application/actions/viewuser/_common.php +++ b/src/application/actions/viewuser/_common.php @@ -2,7 +2,7 @@ use mystic\forum\orm\User; -$userId = $_GET["user"] ?? throw new Exception("Missing user id"); +$userId = $_GET["user"] ?? throw new Exception(__("Missing user id")); $user = new User(); $user->id = $userId; if (!$db->fetch($user)) { -- cgit v1.2.3