mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Use !isset instead of empty
Reason for this change is empty treats 0 as null.
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user