diff options
Diffstat (limited to 'src/application/actions/thumb/get.php')
-rw-r--r-- | src/application/actions/thumb/get.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application/actions/thumb/get.php b/src/application/actions/thumb/get.php index c34bf92..d03e5f9 100644 --- a/src/application/actions/thumb/get.php +++ b/src/application/actions/thumb/get.php @@ -5,7 +5,7 @@ use FFMpeg\FFMpeg; use FFMpeg\FFProbe; use mystic\forum\orm\Attachment; -$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)) { |