Use !isset instead of empty
Reason for this change is empty treats 0 as null.
This commit is contained in:
parent
25fdc12f18
commit
3b53247dee
|
|
@ -165,7 +165,6 @@
|
|||
$parameters['fax_queue_uuid'] = $fax_queue_uuid;
|
||||
$database = new database;
|
||||
$row = $database->select($sql, $parameters, 'row');
|
||||
//view_array($row);
|
||||
if (is_array($row)) {
|
||||
$fax_queue_uuid = $row['fax_queue_uuid'];
|
||||
$domain_uuid = $row['domain_uuid'];
|
||||
|
|
@ -276,7 +275,7 @@
|
|||
//$retry_interval = $_SESSION['fax_queue']['retry_interval']['numeric'];
|
||||
|
||||
//prepare the fax retry count
|
||||
if (empty($fax_retry_count)) {
|
||||
if (!isset($fax_retry_count)) {
|
||||
$fax_retry_count = 0;
|
||||
}
|
||||
elseif ($fax_status != 'busy') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue