Fix contact location if not provided in api call
This commit is contained in:
@@ -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';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user