From 064ff8e3e95dc0253c1b35147509e267382505c0 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Tue, 13 Feb 2001 02:42:47 +0000 Subject: [PATCH] Edit comments only --- addressbook/setup/upgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addressbook/setup/upgrade.php b/addressbook/setup/upgrade.php index ec6b4eac44..e9e8683aa4 100644 --- a/addressbook/setup/upgrade.php +++ b/addressbook/setup/upgrade.php @@ -127,7 +127,7 @@ $extra["notes"] = $db1->f("ab_notes"); $extra["access"] = $db1->f("ab_access"); - // add this record's standard with current entry's owner as owner + // add this record's standard fields with current entry's owner as owner $sql="INSERT INTO phpgw_addressbook (" . "id,org_name,n_given,n_family,fn,d_email,title,a_tel,a_tel_work," . "b_tel,b_tel_home,c_tel,c_tel_fax,adr_street,adr_locality,adr_region,adr_postalcode,owner)" @@ -141,7 +141,7 @@ $db2->query($sql); //echo "
Inserting id '".$fields["id"]."'"; - // insert extra data for this record into extra fields table + // insert extra fields for this record into extra fields table while (list($name,$value) = each($extra)) { //echo "
Inserting '".$name."' = '".$value."'"; $db2->query("INSERT INTO phpgw_addressbook_extra VALUES ('".$fields["id"]."','" . $$fields["owner"] . "','"