From 0a52f9cc753fe241e4dd7cc03861397d4d2c9840 Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Sat, 9 May 2015 06:02:48 +0000 Subject: [PATCH] Fax: Fix on edit to re-enable Advanced features, due to recent file rename. --- app/fax/fax_edit.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/fax/fax_edit.php b/app/fax/fax_edit.php index 80dc609758..787e9e36e3 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -254,7 +254,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $sql .= "fax_destination_number, "; $sql .= "fax_name, "; $sql .= "fax_email, "; - if (permission_exists('fax_extension_advanced') && function_exists("imap_open") && file_exists("fax_box_remote.php")) { + if (permission_exists('fax_extension_advanced') && function_exists("imap_open") && file_exists("fax_files_remote.php")) { $sql .= "fax_email_connection_type, "; $sql .= "fax_email_connection_host, "; $sql .= "fax_email_connection_port, "; @@ -284,7 +284,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $sql .= "'$fax_destination_number', "; $sql .= "'$fax_name', "; $sql .= "'$fax_email', "; - if (permission_exists('fax_extension_advanced') && function_exists("imap_open") && file_exists("fax_box_remote.php")) { + if (permission_exists('fax_extension_advanced') && function_exists("imap_open") && file_exists("fax_files_remote.php")) { $sql .= "'$fax_email_connection_type', "; $sql .= "'$fax_email_connection_host', "; $sql .= "'$fax_email_connection_port', "; @@ -323,7 +323,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $sql .= "fax_destination_number = '$fax_destination_number', "; $sql .= "fax_name = '$fax_name', "; $sql .= "fax_email = '$fax_email', "; - if (permission_exists('fax_extension_advanced') && function_exists("imap_open") && file_exists("fax_box_remote.php")) { + if (permission_exists('fax_extension_advanced') && function_exists("imap_open") && file_exists("fax_files_remote.php")) { $sql .= "fax_email_connection_type = '$fax_email_connection_type', "; $sql .= "fax_email_connection_host = '$fax_email_connection_host', "; $sql .= "fax_email_connection_port = '$fax_email_connection_port', "; @@ -706,7 +706,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo "\n"; echo " \n"; - if (permission_exists('fax_extension_advanced') && function_exists("imap_open") && file_exists("fax_box_remote.php")) { + if (permission_exists('fax_extension_advanced') && function_exists("imap_open") && file_exists("fax_files_remote.php")) { echo "\n"; } echo "
\n"; @@ -835,7 +835,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo ""; echo "
\n"; - if (permission_exists('fax_extension_advanced') && function_exists("imap_open") && file_exists("fax_box_remote.php")) { + if (permission_exists('fax_extension_advanced') && function_exists("imap_open") && file_exists("fax_files_remote.php")) { echo "
\n";