From eecb7375015ad15ffec749911d611399eb535320 Mon Sep 17 00:00:00 2001 From: Matthew Barbour Date: Mon, 26 Oct 2020 10:20:40 -0500 Subject: [PATCH] Image to Post - transcode --- ext/transcode/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/transcode/main.php b/ext/transcode/main.php index 7fb9b92d..1b0f427f 100644 --- a/ext/transcode/main.php +++ b/ext/transcode/main.php @@ -201,11 +201,11 @@ class TranscodeImage extends Extension } elseif (isset($_POST['image_id'])) { $image_id = int_escape($_POST['image_id']); } else { - throw new ImageTranscodeException("Can not resize Image: No valid Image ID given."); + throw new ImageTranscodeException("Can not resize Image: No valid Post ID given."); } $image_obj = Image::by_id($image_id); if (is_null($image_obj)) { - $this->theme->display_error(404, "Image not found", "No image in the database has the ID #$image_id"); + $this->theme->display_error(404, "Post not found", "No image in the database has the ID #$image_id"); } else { if (isset($_POST['transcode_mime'])) { try {