Fix contact location if not provided in api call

This commit is contained in:
wrongecho
2025-07-01 11:50:20 +01:00
parent d781130b49
commit 873dc1f76d

View File

@@ -103,5 +103,5 @@ if (isset($_POST['contact_location_id'])) {
} elseif ($contact_row) {
$location_id = $contact_row['contact_location_id'];
} else {
$location_id = '';
$location_id = '0';
}