mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 00:18:25 +01:00
fixing an n_fn issue, (n_fn was not updated anymore)
This commit is contained in:
parent
ba346ab68b
commit
21d2db0e54
@ -617,7 +617,7 @@ class addressbook_bo extends addressbook_so
|
|||||||
$contact['modifier'] = $this->user;
|
$contact['modifier'] = $this->user;
|
||||||
$contact['modified'] = $this->now_su;
|
$contact['modified'] = $this->now_su;
|
||||||
// set full name and fileas from the content
|
// set full name and fileas from the content
|
||||||
if (!isset($contact['n_fn'])) {
|
if (!isset($contact['n_fn']) || $contact['n_fn'] != $this->fullname($contact)) {
|
||||||
$contact['n_fn'] = $this->fullname($contact);
|
$contact['n_fn'] = $this->fullname($contact);
|
||||||
if (isset($contact['org_name'])) $contact['n_fileas'] = $this->fileas($contact);
|
if (isset($contact['org_name'])) $contact['n_fileas'] = $this->fileas($contact);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user