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
1 changed files with 1 additions and 1 deletions

View File

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