Add default for d_emailtype field

This commit is contained in:
Miles Lott 2001-03-13 15:49:15 +00:00
parent 5d4493670c
commit 3818d23b0d
2 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,7 @@
//echo '<br>'.$i.': '.$name.' => '.$value; //echo '<br>'.$i.': '.$name.' => '.$value;
$entry[$i][$name] = $value; $entry[$i][$name] = $value;
} }
$entry[$i]['d_email_type'] = 'INTERNET';
//echo '<br>'; //echo '<br>';
$contacts->add($phpgw_info["user"]["account_id"],$entry[$i]); $contacts->add($phpgw_info["user"]["account_id"],$entry[$i]);
} }

View File

@ -130,6 +130,7 @@
//echo '<br>'.$i.': '.$name.' => '.$value; //echo '<br>'.$i.': '.$name.' => '.$value;
$entry[$i][$name] = $value; $entry[$i][$name] = $value;
} }
$entry[$i]['d_email_type'] = 'INTERNET';
//echo '<br>'; //echo '<br>';
$contacts->add($phpgw_info["user"]["account_id"],$entry[$i]); $contacts->add($phpgw_info["user"]["account_id"],$entry[$i]);
} }