forked from extern/egroupware
Preserve old owner for if user changes addressbook
This commit is contained in:
parent
66d6a6c883
commit
55a3a1b3f7
@ -2459,6 +2459,7 @@ class addressbook_ui extends addressbook_bo
|
|||||||
|
|
||||||
// allow other apps to add tabs to addressbook edit
|
// allow other apps to add tabs to addressbook edit
|
||||||
$preserve = $content;
|
$preserve = $content;
|
||||||
|
$preserve['old_owner'] = $content['owner'];
|
||||||
unset($preserve['jpegphoto'], $content['jpegphoto']); // unused and messes up json encoding (not utf-8)
|
unset($preserve['jpegphoto'], $content['jpegphoto']); // unused and messes up json encoding (not utf-8)
|
||||||
$this->tmpl->setElementAttribute('tabs', 'add_tabs', true);
|
$this->tmpl->setElementAttribute('tabs', 'add_tabs', true);
|
||||||
$tabs =& $this->tmpl->getElementAttribute('tabs', 'tabs');
|
$tabs =& $this->tmpl->getElementAttribute('tabs', 'tabs');
|
||||||
|
Loading…
Reference in New Issue
Block a user