fixed not recognized vtodo priority values

This commit is contained in:
Jörg Lehrke 2009-12-14 07:01:02 +00:00
parent 9993092b7f
commit 84a1412c53

View File

@ -359,9 +359,12 @@ class infolog_ical extends infolog_bo
break;
case 'PRIORITY':
if (1 <= $attributes['value'] && $attributes['value'] <= 3) {
if (1 <= $attributes['value'] && $attributes['value'] <= 9)
{
$taskData['info_priority'] = $this->vcal_priority2egw_priority[$attributes['value']];
} else {
}
else
{
$taskData['info_priority'] = 1; // default = normal
}
break;