mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-23 19:31:53 +02:00
fix logic problem
This commit is contained in:
parent
2229fae121
commit
c2a7644b5e
@ -98,10 +98,12 @@ class Horde_SyncML_Command_Alert extends Horde_SyncML_Command {
|
|||||||
$clientlast = $info['ClientAnchor'];
|
$clientlast = $info['ClientAnchor'];
|
||||||
$state->setServerAnchorLast($type, $info['ServerAnchor']);
|
$state->setServerAnchorLast($type, $info['ServerAnchor']);
|
||||||
} else {
|
} else {
|
||||||
$clientlast === false;
|
$clientlast = false;
|
||||||
$state->setServerAnchorLast($type, 0);
|
$state->setServerAnchorLast($type, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
Horde::logMessage("SyncML: checking anchor \$clientlast " . $clientlast .' '. $this->_metaAnchorLast .' '. $clientlast == $this->_metaAnchorLast, __FILE__, __LINE__, PEAR_LOG_DEBUG);
|
Horde::logMessage("SyncML: checking anchor \$clientlast " . $clientlast .' '. $this->_metaAnchorLast .' '. $clientlast == $this->_metaAnchorLast, __FILE__, __LINE__, PEAR_LOG_DEBUG);
|
||||||
|
|
||||||
// Set Server Anchor for this sync to current time.
|
// Set Server Anchor for this sync to current time.
|
||||||
$state->setServerAnchorNext($type,time());
|
$state->setServerAnchorNext($type,time());
|
||||||
if ($clientlast !== false && $clientlast == $this->_metaAnchorLast) {
|
if ($clientlast !== false && $clientlast == $this->_metaAnchorLast) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user