diff --git a/user/client_overview.php b/user/client_overview.php index b74936d4..e883b887 100644 --- a/user/client_overview.php +++ b/user/client_overview.php @@ -226,7 +226,13 @@ $sql_asset_retired = mysqli_query( $contact_mobile_country_code = nullable_htmlentities($row['contact_mobile_country_code']); $contact_mobile = nullable_htmlentities(formatPhoneNumber($row['contact_mobile'], $contact_mobile_country_code)); $contact_photo = nullable_htmlentities($row['contact_photo']); + $contact_primary = intval($row['contact_primary']); $contact_initials = initials($contact_name); + if ($contact_primary == 1) { + $contact_primary_display = "Primary Contact"; + } else { + $contact_primary_display = false; + } ?>