Fix creating events.
authorJan Schneider <jan@horde.org>
Mon, 23 Nov 2009 23:47:40 +0000 (00:47 +0100)
committerJan Schneider <jan@horde.org>
Mon, 23 Nov 2009 23:47:40 +0000 (00:47 +0100)
kronolith/ajax.php

index 63f9a53..df4887c 100644 (file)
@@ -146,7 +146,7 @@ try {
         break;
 
     case 'SaveEvent':
-        if (!($kronolith_driver = getDriver(Horde_Util::getFormData('cal')))) {
+        if (!($kronolith_driver = getDriver(Horde_Util::getFormData('targetcalendar')))) {
             break;
         }
         $event = $kronolith_driver->getEvent(Horde_Util::getFormData('id'));