From da114c1a64b5f788ac33286e405fbf97f41adf55 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Mon, 1 Jun 2015 21:21:33 +0000 Subject: [PATCH] If Remote Inbox Subject Tag is not set then check the local fax files. --- app/fax/fax.php | 2 +- app/fax/fax_edit.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/fax/fax.php b/app/fax/fax.php index 532d7cf46f..ab3601dcee 100644 --- a/app/fax/fax.php +++ b/app/fax/fax.php @@ -152,7 +152,7 @@ require_once "resources/paging.php"; echo " ".$text['label-new']."  "; } if (permission_exists('fax_inbox_view')) { - if ($row['fax_email_connection_host'] != '') { + if ($row['fax_email_inbound_subject_tag'] != '') { $file = "fax_files_remote.php"; $box = $row['fax_email_connection_mailbox']; } diff --git a/app/fax/fax_edit.php b/app/fax/fax_edit.php index 2df214d846..6626f50471 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -1048,4 +1048,5 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { //show the footer require_once "resources/footer.php"; -?> + +?> \ No newline at end of file