Fix debug left-over.
authorJan Schneider <jan@horde.org>
Wed, 18 Mar 2009 12:31:16 +0000 (13:31 +0100)
committerJan Schneider <jan@horde.org>
Wed, 18 Mar 2009 12:31:16 +0000 (13:31 +0100)
kronolith/ajax.php

index b69e4d2..7f6af04 100644 (file)
@@ -138,7 +138,7 @@ case 'UpdateEvent':
         $notification->push($event, 'horde.error');
         break;
     }
-    if ($event) {
+    if (!$event) {
         $notification->push(_("The requested event was not found."), 'horde.error');
         break;
     }