mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
change api\Etemplate\Widget::getElementAttribute($name,$attr) to NO longer return a reference, use setElementAttribute($name,$attr) if you need a reference
This commit is contained in:
parent
2552bea6a2
commit
ba5b000369
@ -2801,7 +2801,7 @@ class addressbook_ui extends addressbook_bo
|
|||||||
$preserve['old_owner'] = $content['owner'];
|
$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', 'extraTabs');
|
$tabs =& $this->tmpl->setElementAttribute('tabs', 'extraTabs');
|
||||||
if (($first_call = !isset($tabs)))
|
if (($first_call = !isset($tabs)))
|
||||||
{
|
{
|
||||||
$tabs = array();
|
$tabs = array();
|
||||||
|
@ -197,7 +197,7 @@ class preferences_password
|
|||||||
];
|
];
|
||||||
|
|
||||||
$tmpl->setElementAttribute('tabs', 'add_tabs', true);
|
$tmpl->setElementAttribute('tabs', 'add_tabs', true);
|
||||||
$tabs =& $tmpl->getElementAttribute('tabs', 'extraTabs');
|
$tabs =& $tmpl->setElementAttribute('tabs', 'extraTabs');
|
||||||
if (($first_call = !isset($tabs)))
|
if (($first_call = !isset($tabs)))
|
||||||
{
|
{
|
||||||
$tabs = array();
|
$tabs = array();
|
||||||
|
Loading…
Reference in New Issue
Block a user