forked from extern/egroupware
Set currentapp to addressbook so existing categories are properly detected
This commit is contained in:
parent
68a970f5d6
commit
867b0f5343
@ -113,6 +113,9 @@ class addressbook_import_contacts_csv implements importexport_iface_import_plugi
|
||||
// dry run?
|
||||
$this->dry_run = isset( $_definition->plugin_options['dry_run'] ) ? $_definition->plugin_options['dry_run'] : false;
|
||||
|
||||
// Needed for categories to work right
|
||||
$GLOBALS['egw_info']['flags']['currentapp'] = 'addressbook';
|
||||
|
||||
// fetch the addressbook bo
|
||||
$this->bocontacts = new addressbook_bo();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user