mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
setting info_modifier for new entries before sending data to client-side to allow to use it in template-selection
This commit is contained in:
parent
057ff20f3a
commit
0d752077bb
@ -2052,13 +2052,14 @@ class infolog_ui
|
||||
{
|
||||
Framework::window_close(lang('Permission denied!'));
|
||||
}
|
||||
if (is_numeric($_REQUEST['cat_id']))
|
||||
{
|
||||
$content['info_cat'] = (int)$_REQUEST['cat_id'];
|
||||
}
|
||||
if (!$content)
|
||||
{
|
||||
$content['info_cat'] = $this->prefs['cat_add_default'];
|
||||
$content['info_modifier'] = $GLOBALS['egw_info']['user']['account_id'];
|
||||
}
|
||||
if (is_numeric($_REQUEST['cat_id']))
|
||||
{
|
||||
$content['info_cat'] = (int)$_REQUEST['cat_id'];
|
||||
}
|
||||
if ($_GET['msg']) $content['msg'] = strip_tags($_GET['msg']); // dont allow HTML!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user