Remove contact_email from v_contacts table as this was replaced by the v_contact_emails table.

This commit is contained in:
markjcrane
2016-04-14 10:40:25 -06:00
parent 43e15018f0
commit c630449636
3 changed files with 23 additions and 29 deletions

View File

@@ -91,7 +91,7 @@ else {
$contact_name_given = $data['FirstName'];
$contact_name_family = $data['LastName'];
$contact_organization = $data['Company'];
$contact_email = $data['EmailAddress'];
//$contact_email = $data['EmailAddress'];
$contact_note = $data['Notes'];
$contact_url = $data['Web Page'];
@@ -108,7 +108,6 @@ else {
//$sql .= "contact_nickname, ";
$sql .= "contact_title, ";
//$sql .= "contact_role, ";
$sql .= "contact_email, ";
$sql .= "contact_url, ";
//$sql .= "contact_time_zone, ";
$sql .= "contact_note ";
@@ -124,7 +123,6 @@ else {
//$sql .= "'$contact_nickname', ";
$sql .= "'$contact_title', ";
//$sql .= "'$contact_role', ";
$sql .= "'$contact_email', ";
$sql .= "'$contact_url', ";
//$sql .= "'$contact_time_zone', ";
$sql .= "'$contact_note' ";
@@ -340,7 +338,7 @@ else {
echo "<tr>\n";
echo " <th>".$text['label-contact_name']."</th>\n";
echo " <th>".$text['label-contact_organization']."</th>\n";
echo " <th>".$text['label-contact_email']."</th>\n";
//echo " <th>".$text['label-contact_email']."</th>\n";
echo " <th>".$text['label-contact_url']."</th>\n";
echo "</tr>\n";
foreach($results as $row) {