mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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 <tim@fusionpbx.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user