mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-15 10:28:48 +01:00
- Fix import problem with status Open(status)
- Removed unneeded account check - should be handled by convert() r41169: Fix for Status/Resolution/etc. added during import only visible to importing user r41176: Fix incorrect warning 'Group, Group is not a known user or group'
This commit is contained in:
parent
f5ae1ff877
commit
068c53c8aa
@ -136,10 +136,17 @@ class importexport_helper_functions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Handle groups listed as Group, <name>
|
// Handle groups listed as Group, <name>
|
||||||
if ( $account_lid[0] == ' ' && $account_id = $GLOBALS['egw']->accounts->name2id( trim($account_lid))) {
|
if ( $account_lids[$key][0] == ' ' && $account_id = $GLOBALS['egw']->accounts->name2id( $account_lid)) {
|
||||||
$account_ids[] = $account_id;
|
$account_ids[] = $account_id;
|
||||||
unset($account_lids[$key-1]);
|
unset($account_lids[$key-1]);
|
||||||
unset($account_lids[$key]);
|
unset($account_lids[$key]);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
// Group, <name> - remove the Group part
|
||||||
|
if($account_lid == 'Group')
|
||||||
|
{
|
||||||
|
unset($account_lids[$key]);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$_account_lids = (is_array($_account_lids) ? $account_lids : implode(',',$account_lids));
|
$_account_lids = (is_array($_account_lids) ? $account_lids : implode(',',$account_lids));
|
||||||
|
Loading…
Reference in New Issue
Block a user