forked from extern/egroupware
Avoid duplicate parsing of usernames with [login]
This commit is contained in:
parent
f254a90613
commit
73cba1f328
@ -180,8 +180,8 @@ class importexport_helper_functions {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$_account_lids = (is_array($_account_lids) ? $account_lids : implode(',',$account_lids));
|
$_account_lids = (is_array($_account_lids) ? $account_lids : implode(',',array_unique($account_lids)));
|
||||||
return is_array( $_account_lids ) ? $account_ids : implode( ',', (array)$account_ids );
|
return is_array( $_account_lids ) ? array_unique($account_ids) : implode( ',', array_unique((array)$account_ids ));
|
||||||
|
|
||||||
} // end of member function account_lid2id
|
} // end of member function account_lid2id
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user