Fix parse error.
authorJan Schneider <jan@horde.org>
Fri, 8 Oct 2010 16:06:53 +0000 (18:06 +0200)
committerJan Schneider <jan@horde.org>
Fri, 8 Oct 2010 16:47:18 +0000 (18:47 +0200)
framework/SyncML/SyncML/Device/Sync4j.php

index d1f4409..c941ff7 100644 (file)
@@ -1098,7 +1098,7 @@ class SyncML_Device_sync4j extends SyncML_Device {
             } else {
                 // Parse VALARM components.
                 foreach ($content->getComponents() as $component) {
-                    if ($component->getType != 'vAlarm') ||
+                    if ($component->getType != 'vAlarm' ||
                         is_a($trigger = $component->getAttribute('TRIGGER'), 'PEAR_Error') ||
                         is_array($trigger) ||
                         empty($trigger)) {