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/attachment/get.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/application/actions/attachment/get.php') diff --git a/src/application/actions/attachment/get.php b/src/application/actions/attachment/get.php index 598bdb9..39f14a3 100644 --- a/src/application/actions/attachment/get.php +++ b/src/application/actions/attachment/get.php @@ -9,7 +9,7 @@ if (!$currentUser) { exit; } -$attId = $_GET["attachment"] ?? throw new Exception("Missing attachment id"); +$attId = $_GET["attachment"] ?? throw new Exception(__("Missing attachment id")); $attachment = new Attachment(); $attachment->id = $attId; if (!$db->fetch($attachment)) { -- cgit v1.2.3