diff options
Diffstat (limited to 'src/application/actions/attachment/get.php')
-rw-r--r-- | src/application/actions/attachment/get.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |