Only send notify if email address is not null (#6351)

* Only send notify if email address is not null

* Update fax_queue.php
This commit is contained in:
FusionPBX 2022-04-25 13:54:52 -06:00 committed by GitHub
parent 6138c2e138
commit d61939e38a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -121,6 +121,7 @@
$sql .= ") ";
$sql .= "or ( ";
$sql .= " fax_status = 'sent' ";
$sql .= " and fax_email_address is not null ";
$sql .= " and fax_notify_date is null ";
$sql .= ") ";
$sql .= "and hostname = :hostname ";

View File

@ -150,6 +150,7 @@
$sql .= ") ";
$sql .= "or ( ";
$sql .= " fax_status = 'sent' ";
$sql .= " and fax_email_address is not null ";
$sql .= " and fax_notify_date is null ";
$sql .= ") ";
$sql .= "and hostname = :hostname ";