mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 04:11:49 +02: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;
|
break;
|
||||||
|
|
||||||
case 'CATEGORIES':
|
case 'CATEGORIES':
|
||||||
$cats = $this->find_or_add_categories(explode(',', $attribute['value']), $_noteID);
|
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];
|
$note['info_cat'] = $cats[0];
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user