mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
Fix a call not allowing ldap, and fix the return of stock_fieldnames
This commit is contained in:
parent
9d6ca0fcd6
commit
f14824f012
@ -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");
|
||||
?>
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user