mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
* infolog/esync: fix for -> tasks created on device where set to completed all the time <-
This commit is contained in:
parent
84386ade01
commit
afe3b0a07f
@ -404,7 +404,7 @@ class infolog_activesync implements activesync_plugin_write
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'info_status': // 0 or 1 in AS --> do NOT change infolog status, if it maps to identical completed boolean value
|
case 'info_status': // 0 or 1 in AS --> do NOT change infolog status, if it maps to identical completed boolean value
|
||||||
if (in_array($infolog[$attr], self::$done_status) !== (boolean)$message->$key)
|
if ((in_array($infolog[$attr], self::$done_status) !== (boolean)$message->$key) || !isset($infolog[$attr]))
|
||||||
{
|
{
|
||||||
$infolog[$attr] = $message->$key ? 'done' : 'not-started';
|
$infolog[$attr] = $message->$key ? 'done' : 'not-started';
|
||||||
if (!(boolean)$message->$key) $infolog['info_percent'] = 0;
|
if (!(boolean)$message->$key) $infolog['info_percent'] = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user