mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
preserv cats if updateing contacts from import
This commit is contained in:
parent
25055b8603
commit
3e6921d5b9
@ -456,7 +456,9 @@ class bocontacts extends socontacts
|
||||
return false;
|
||||
}
|
||||
// convert categories
|
||||
$contact['cat_id'] = is_array($contact['cat_id']) ? implode(',',$contact['cat_id']) : $contact['cat_id'];
|
||||
if (is_array($contact['cat_id'])) {
|
||||
$contact['cat_id'] = implode(',',$contact['cat_id']);
|
||||
}
|
||||
// last modified
|
||||
$contact['modifier'] = $this->user;
|
||||
$contact['modified'] = $this->now_su;
|
||||
|
Loading…
Reference in New Issue
Block a user