Fix viral typo.
authorJan Schneider <jan@horde.org>
Tue, 1 Dec 2009 12:25:58 +0000 (13:25 +0100)
committerJan Schneider <jan@horde.org>
Tue, 1 Dec 2009 16:37:40 +0000 (17:37 +0100)
kronolith/add.php
kronolith/edit.php
kronolith/lib/Kronolith.php

index 771cb5c..e7d1a10 100644 (file)
@@ -39,7 +39,7 @@ if (!Horde_Util::getFormData('cancel')) {
 
             $notification->push(sprintf(_("There was an error adding the event: %s"), $message), 'horde.error');
         } else {
-            Kronolith::notifyOfResoruceRejection($event);
+            Kronolith::notifyOfResourceRejection($event);
             if (Horde_Util::getFormData('sendupdates', false)) {
                 $event = Kronolith::getDriver()->getEvent($result);
                 if (is_a($event, 'PEAR_Error')) {
index a341617..9c4327a 100644 (file)
@@ -19,7 +19,7 @@ function _save(&$event)
     } elseif (Horde_Util::getFormData('sendupdates', false)) {
         Kronolith::sendITipNotifications($event, $GLOBALS['notification'], Kronolith::ITIP_REQUEST);
     }
-    Kronolith::notifyOfResoruceRejection($event);
+    Kronolith::notifyOfResourceRejection($event);
 }
 
 function _check_max()
index 2207abb..42527f7 100644 (file)
@@ -1922,7 +1922,7 @@ class Kronolith
      *
      * @param Kronolith_Event #
      */
-    public static function notifyOfResoruceRejection($event)
+    public static function notifyOfResourceRejection($event)
     {
         $declined = array();
         $accepted = array();