forked from extern/egroupware
Automatically handle converting+adding text categories without explicit translation
This commit is contained in:
parent
e0d509ca3a
commit
fbc9aa8abb
@ -168,6 +168,9 @@ 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'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Automatically handle text categories without explicit translation
|
||||||
|
$record['cat_id'] = importexport_helper_functions::cat_name2id($record['cat_id']);
|
||||||
|
|
||||||
// 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