mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 21:01:52 +02:00
Fix infolog category issue again
This commit is contained in:
parent
3b85963f39
commit
ac8223caed
@ -301,6 +301,7 @@ class infolog_ical extends infolog_bo
|
|||||||
{
|
{
|
||||||
$vcal = new Horde_iCalendar;
|
$vcal = new Horde_iCalendar;
|
||||||
if (!($vcal->parsevCalendar($_vcalData))) return false;
|
if (!($vcal->parsevCalendar($_vcalData))) return false;
|
||||||
|
$version = $vcal->getAttribute('VERSION');
|
||||||
|
|
||||||
if (isset($GLOBALS['egw_info']['user']['preferences']['syncml']['minimum_uid_length']))
|
if (isset($GLOBALS['egw_info']['user']['preferences']['syncml']['minimum_uid_length']))
|
||||||
{
|
{
|
||||||
@ -601,6 +602,7 @@ class infolog_ical extends infolog_bo
|
|||||||
case 'text/x-vnote':
|
case 'text/x-vnote':
|
||||||
$vnote = new Horde_iCalendar;
|
$vnote = new Horde_iCalendar;
|
||||||
if (!$vcal->parsevCalendar($_data)) return false;
|
if (!$vcal->parsevCalendar($_data)) return false;
|
||||||
|
$version = $vcal->getAttribute('VERSION');
|
||||||
|
|
||||||
$components = $vnote->getComponent();
|
$components = $vnote->getComponent();
|
||||||
foreach ($components as $component)
|
foreach ($components as $component)
|
||||||
@ -627,7 +629,7 @@ class infolog_ical extends infolog_bo
|
|||||||
{
|
{
|
||||||
if($version == '1.0')
|
if($version == '1.0')
|
||||||
{
|
{
|
||||||
$vcats = $this->find_or_add_categories(explode(';',$attribute['value']), $_noteID);
|
$cats = $this->find_or_add_categories(explode(';',$attribute['value']), $_noteID);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user