mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Fix infolog category issue again
This commit is contained in:
parent
fda9c4f5f0
commit
3b85963f39
@ -623,8 +623,18 @@ class infolog_ical extends infolog_bo
|
||||
break;
|
||||
|
||||
case 'CATEGORIES':
|
||||
$cats = $this->find_or_add_categories(explode(',', $attribute['value']), $_noteID);
|
||||
$note['info_cat'] = $cats[0];
|
||||
if ($attribute['value'])
|
||||
{
|
||||
if($version == '1.0')
|
||||
{
|
||||
$vcats = $this->find_or_add_categories(explode(';',$attribute['value']), $_noteID);
|
||||
}
|
||||
else
|
||||
{
|
||||
$cats = $this->find_or_add_categories(explode(',',$attribute['value']), $_noteID);
|
||||
}
|
||||
$note['info_cat'] = $cats[0];
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user