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:
@@ -121,6 +121,7 @@
|
|||||||
$sql .= ") ";
|
$sql .= ") ";
|
||||||
$sql .= "or ( ";
|
$sql .= "or ( ";
|
||||||
$sql .= " fax_status = 'sent' ";
|
$sql .= " fax_status = 'sent' ";
|
||||||
|
$sql .= " and fax_email_address is not null ";
|
||||||
$sql .= " and fax_notify_date is null ";
|
$sql .= " and fax_notify_date is null ";
|
||||||
$sql .= ") ";
|
$sql .= ") ";
|
||||||
$sql .= "and hostname = :hostname ";
|
$sql .= "and hostname = :hostname ";
|
||||||
|
|||||||
@@ -150,6 +150,7 @@
|
|||||||
$sql .= ") ";
|
$sql .= ") ";
|
||||||
$sql .= "or ( ";
|
$sql .= "or ( ";
|
||||||
$sql .= " fax_status = 'sent' ";
|
$sql .= " fax_status = 'sent' ";
|
||||||
|
$sql .= " and fax_email_address is not null ";
|
||||||
$sql .= " and fax_notify_date is null ";
|
$sql .= " and fax_notify_date is null ";
|
||||||
$sql .= ") ";
|
$sql .= ") ";
|
||||||
$sql .= "and hostname = :hostname ";
|
$sql .= "and hostname = :hostname ";
|
||||||
|
|||||||
Reference in New Issue
Block a user