Fix a call not allowing ldap, and fix the return of stock_fieldnames

This commit is contained in:
Miles Lott 2001-03-19 03:45:46 +00:00
parent 9d6ca0fcd6
commit f14824f012
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<?php
if (!$phpgw_info["server"]["contacts_repository"]) { $phpgw_info["server"]["contacts_repository"] = "sql"; }
include(PHPGW_INCLUDE_ROOT."/addressbook/inc/class.contacts_".$phpgw_info["server"]["contacts_repository"].".inc.php");
if (!$phpgw_info["server"]["contact_repository"]) { $phpgw_info["server"]["contact_repository"] = "sql"; }
include(PHPGW_INCLUDE_ROOT."/addressbook/inc/class.contacts_".$phpgw_info["server"]["contact_repository"].".inc.php");
include(PHPGW_INCLUDE_ROOT."/addressbook/inc/class.contacts_shared.inc.php");
?>

View File

@ -41,7 +41,7 @@
}
if ($this->stock_contact_fields[$field]) {
$stock_fields[$field] = $value;
$stock_fieldnames[$field] = $field;
$stock_fieldnames[$field] = $this->stock_contact_fields[$field];
} else {
$extra_fields[$field] = $value;
}