mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-19 11:50:51 +01:00
setting hook-values as GUI
This commit is contained in:
parent
02443f09ff
commit
ca72942106
@ -101,7 +101,7 @@ class admin_cmd_edit_group extends admin_cmd
|
|||||||
throw new egw_exception_db(lang("Error saving account!"),11);
|
throw new egw_exception_db(lang("Error saving account!"),11);
|
||||||
}
|
}
|
||||||
$data['account_name'] = $data['account_lid']; // also set deprecated name
|
$data['account_name'] = $data['account_lid']; // also set deprecated name
|
||||||
if ($update) $data['old_name'] = $old['account_lid']; // make old name available for hooks
|
if ($this->account) $data['old_name'] = $old['account_lid']; // make old name available for hooks
|
||||||
$GLOBALS['hook_values'] =& $data;
|
$GLOBALS['hook_values'] =& $data;
|
||||||
$GLOBALS['egw']->hooks->process($GLOBALS['hook_values']+array(
|
$GLOBALS['egw']->hooks->process($GLOBALS['hook_values']+array(
|
||||||
'location' => $this->account ? 'editgroup' : 'addgroup'
|
'location' => $this->account ? 'editgroup' : 'addgroup'
|
||||||
|
Loading…
Reference in New Issue
Block a user