From ebf052b76624d10e225cede87f9f0730b60079e2 Mon Sep 17 00:00:00 2001 From: Brielle Date: Wed, 18 May 2022 11:05:41 -0600 Subject: [PATCH] Fix some stupid typos on my part --- vmsendstt.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/vmsendstt.php b/vmsendstt.php index c104c0d..78dd8c5 100755 --- a/vmsendstt.php +++ b/vmsendstt.php @@ -4,8 +4,8 @@ /* Asterisk Voicemail Transcribe Wrapper -Version: 0.6.0 -Date: 5/13/2022 +Version: 0.6.1 +Date: 5/18/2022 License: This work is licensed under CC BY-SA 4.0 URL: https://git.sosdg.org/brielle/asterisk-scripts Requires: PHP 5 or 7, Mail and Mail_Mime libraries from Pear @@ -70,7 +70,6 @@ if (isset($wavFile)) { $headers = array( "Date" => $mailData['headers']['date'], - "Return-Path" => $mailData['headers']['return-path'], "From" => $mailData['headers']['from'], "To" => $mailData['headers']['to'], "Subject" => $mailData['headers']['subject'], @@ -79,23 +78,23 @@ $headers = array( "X-Asterisk-CallerIDName" => $mailData['headers']['x-asterisk-calleridname'], ); -if ($isset($mailData['headers']['cc'])) { +if (isset($mailData['headers']['cc'])) { $headers['Cc'] = $mailData['headers']['cc']; } -if ($isset($mailData['headers']['bcc'])) { +if (isset($mailData['headers']['bcc'])) { $headers['Bcc'] = $mailData['headers']['bcc']; } -if ($isset($mailData['headers']['reply-to'])) { +if (isset($mailData['headers']['reply-to'])) { $headers['Reply-To'] = $mailData['headers']['reply-to']; } -if ($isset($mailData['headers']['user-agent'])) { +if (isset($mailData['headers']['user-agent'])) { $headers['User-Agent'] = $mailData['headers']['user-agent']; } -if ($isset($mailData['headers']['content-language'])) { +if (isset($mailData['headers']['content-language'])) { $headers['Content-Language'] = $mailData['headers']['content-language']; }