Fix typos.
authorJan Schneider <jan@horde.org>
Wed, 11 Aug 2010 14:24:53 +0000 (16:24 +0200)
committerJan Schneider <jan@horde.org>
Wed, 11 Aug 2010 15:34:55 +0000 (17:34 +0200)
kronolith/lib/Event.php

index 45ae1dd..a9a2c53 100644 (file)
@@ -763,7 +763,7 @@ abstract class Kronolith_Event
                     // Need to change the UID so it links to the original
                     // recurring event.
                     $exceptionEvent->uid = $this->uid;
-                    $vEventException = $exceptionEvent->toIcalendar($calendar);
+                    $vEventException = $exceptionEvent->toiCalendar($calendar);
                     // This should never happen, but protect against it anyway.
                     if (count($vEventException) > 1) {
                         throw new Kronolith_Exception(_("Unable to parse event."));
@@ -1742,7 +1742,7 @@ abstract class Kronolith_Event
                 return false;
             }
         } catch (Exception $e) {
-            return $false;
+            return false;
         }
         $this->id = $eventID;
         return true;