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/profilepicture/get.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/application/actions/profilepicture/get.php') diff --git a/src/application/actions/profilepicture/get.php b/src/application/actions/profilepicture/get.php index c4860f1..abf9135 100644 --- a/src/application/actions/profilepicture/get.php +++ b/src/application/actions/profilepicture/get.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