From 5af4610a9c101ac82a4e1fee21da95bad09c6c68 Mon Sep 17 00:00:00 2001 From: frytimo Date: Wed, 10 Jul 2024 17:02:23 -0300 Subject: [PATCH] Ensure the 'transcribe_' is prepended to the class name (#7048) Class name requires the transcribe_ prepended before PHP checks to see if the class actually exists as the engine must have 'transcribe_' in front of the classes. Co-authored-by: Tim Fry --- app/email_queue/resources/jobs/email_send.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/email_queue/resources/jobs/email_send.php b/app/email_queue/resources/jobs/email_send.php index c812d9bba4..36e02227c3 100644 --- a/app/email_queue/resources/jobs/email_send.php +++ b/app/email_queue/resources/jobs/email_send.php @@ -230,7 +230,7 @@ $transcribe_engine = $settings->get('transcribe', 'engine', ''); //add the transcribe object and get the languages arrays - if (!empty($transcribe_engine) && class_exists($transcribe_engine)) { + if (!empty($transcribe_engine) && class_exists('transcribe_' . $transcribe_engine)) { $transcribe = new transcribe($settings); //transcribe the voicemail recording