diff --git a/app/fax/fax_edit.php b/app/fax/fax_edit.php index 4416e26514..69b4345bf8 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2018 + Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): @@ -197,10 +197,10 @@ clearstatcache(); //process the data - if (count($_POST) > 0 && is_uuid($_POST["fax_uuid"]) && strlen($_POST["persistformvar"]) == 0) { + if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $msg = ''; - if ($action == "update" && permission_exists('fax_extension_edit')) { + if ($action == "update" && is_uuid($_POST["fax_uuid"]) && permission_exists('fax_extension_edit')) { $fax_uuid = $_POST["fax_uuid"]; } @@ -977,6 +977,7 @@ echo " "; echo " "; echo "
"; + if (substr_count($fax_email_outbound_authorized_senders, ',') > 0) { $senders = explode(',', $fax_email_outbound_authorized_senders); } @@ -1018,4 +1019,4 @@ //show the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file