mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:39:40 +01:00
test to cast PERCENT-COMPLETE as int to prevent 0 value to be set to nothing
This commit is contained in:
parent
43190660a4
commit
5fd473c986
@ -207,7 +207,7 @@ class infolog_ical extends infolog_bo
|
|||||||
$vevent->setAttribute('STATUS',$this->status2vtodo($taskData['info_status']));
|
$vevent->setAttribute('STATUS',$this->status2vtodo($taskData['info_status']));
|
||||||
// we try to preserv the original infolog status as X-INFOLOG-STATUS, so we can restore it, if the user does not modify STATUS
|
// we try to preserv the original infolog status as X-INFOLOG-STATUS, so we can restore it, if the user does not modify STATUS
|
||||||
$vevent->setAttribute('X-INFOLOG-STATUS',$taskData['info_status']);
|
$vevent->setAttribute('X-INFOLOG-STATUS',$taskData['info_status']);
|
||||||
$vevent->setAttribute('PERCENT-COMPLETE',$taskData['info_percent']);
|
$vevent->setAttribute('PERCENT-COMPLETE',(int)$taskData['info_percent']);
|
||||||
$vevent->setAttribute('PRIORITY',$this->egw_priority2vcal_priority[$taskData['info_priority']]);
|
$vevent->setAttribute('PRIORITY',$this->egw_priority2vcal_priority[$taskData['info_priority']]);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user