Default destination type to inbound. Use is_array where it is required

This commit is contained in:
markjcrane
2023-05-17 16:03:36 -06:00
parent 74959e69c7
commit 10a4ceae65
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -100,7 +100,7 @@
}
//set the type
$destination_type = '';
$destination_type = 'inbound';
if (!empty($_REQUEST['type'])) {
switch ($_REQUEST['type']) {
case 'inbound': $destination_type = 'inbound'; break;