mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix importing responsible, when there are more than 1 user responsible
This commit is contained in:
parent
f7ebd11af3
commit
c34aa3a335
@ -198,6 +198,10 @@ class infolog_import_infologs_csv implements importexport_iface_import_plugin {
|
|||||||
$record['info_owner'] = $_definition->plugin_options['record_owner'];
|
$record['info_owner'] = $_definition->plugin_options['record_owner'];
|
||||||
}
|
}
|
||||||
if (!isset($record['info_owner'])) $record['info_owner'] = $GLOBALS['egw_info']['user']['account_id'];
|
if (!isset($record['info_owner'])) $record['info_owner'] = $GLOBALS['egw_info']['user']['account_id'];
|
||||||
|
|
||||||
|
// Responsible has to be an array
|
||||||
|
$record['info_responsible'] = $record['info_responsible'] ? explode(',',$record['info_responsible']) : 0;
|
||||||
|
|
||||||
// Special values
|
// Special values
|
||||||
if ($record['addressbook'] && !is_numeric($record['addressbook']))
|
if ($record['addressbook'] && !is_numeric($record['addressbook']))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user