mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +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;
|
||||
|
||||
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';
|
||||
if (!(boolean)$message->$key) $infolog['info_percent'] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user