From 551eda90800b6199299d93a911f5cb8963c06493 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 16 Sep 2023 02:15:35 -0600 Subject: [PATCH] Update fax_send.php --- app/fax/fax_send.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/fax/fax_send.php b/app/fax/fax_send.php index a03d2e3b33..bf581e704c 100644 --- a/app/fax/fax_send.php +++ b/app/fax/fax_send.php @@ -47,7 +47,7 @@ if (!$included) { $user_uuid = $_SESSION['user_uuid']; //get event socket connection parameters - if (empty($setting)) { + if (empty($settings)) { $setting = new settings(["domain_uuid" => $domain_uuid]); } @@ -117,7 +117,7 @@ if (!$included) { } //set the fax directory - if (!empty($setting->get('switch','storage')) { + if (!empty($setting->get('switch','storage'))) { $fax_dir = $setting->get('switch','storage').'/fax/'.$domain_name; } @@ -981,7 +981,7 @@ if (!$included) { echo " ".$text['label-fax-header']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo " ".$text['description-fax-header']."\n"; echo "\n"; @@ -1049,7 +1049,7 @@ if (!$included) { for ($f = 1; $f <= 3; $f++) { echo " 1) ? "style='display: none;'" : null).">"; echo " "; - echo button::create(['type'=>'button','label'=>$text['button-clear'],'icon'=>$setting->fax('theme','button_icon_reset'),'onclick'=>"reset_file_input('fax_files_".$f."'); document.getElementById('file_list_".$f."').innerHTML='';"]); + echo button::create(['type'=>'button','label'=>$text['button-clear'],'icon'=>$setting->get('theme','button_icon_reset'),'onclick'=>"reset_file_input('fax_files_".$f."'); document.getElementById('file_list_".$f."').innerHTML='';"]); echo "
"; echo " "; echo "
\n"; @@ -1064,9 +1064,9 @@ if (!$included) { echo "\n"; echo "\n"; echo " \n"; echo "
\n"; echo " ".$text['description-fax-resolution']."\n"; @@ -1079,9 +1079,9 @@ if (!$included) { echo "\n"; echo "\n"; echo " \n"; echo "
\n"; echo " ".$text['description-fax-page-size']."\n"; @@ -1120,7 +1120,7 @@ if (!$included) { echo " ".$text['label-fax-footer']."\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo " ".$text['description-fax-footer']."\n"; echo "\n";