diff --git a/app/fax/fax_file_delete.php b/app/fax/fax_file_delete.php index 498ce71a96..84d2c7e4cf 100644 --- a/app/fax/fax_file_delete.php +++ b/app/fax/fax_file_delete.php @@ -82,10 +82,10 @@ if (strlen($id) > 0) { unset($sql); //set the type - if ($fax_mode == 'rx'; + if ($fax_mode == 'rx') { $type = 'inbox'; } - if ($fax_mode == 'tx'; + if ($fax_mode == 'tx') { $type = 'sent'; }