From: Michael M Slusarz Date: Mon, 12 Apr 2010 18:26:59 +0000 (-0600) Subject: Fix some copy/paste errors X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=036211b3646d5aef81e60c57e2e71ce50f62b559;p=horde.git Fix some copy/paste errors --- diff --git a/kronolith/lib/Application.php b/kronolith/lib/Application.php index 3f81c7612..92632527c 100644 --- a/kronolith/lib/Application.php +++ b/kronolith/lib/Application.php @@ -147,7 +147,7 @@ class Kronolith_Application extends Horde_Registry_Application case 'share': if (!$prefs->isLocked('default_share')) { - $all_tasklists = Kronolith::listCalendars(); + $all_shares = Kronolith::listCalendars(); $sharelist = array(); foreach ($all_shares as $id => $share) { @@ -301,7 +301,7 @@ class Kronolith_Application extends Horde_Registry_Application $t = $GLOBALS['injector']->createInstance('Horde_Template'); $t->setOption('gettext', true); - if ($alarm_value = $prefs->getValue('default_alarm')) { + if ($alarm_value = $GLOBALS['prefs']->getValue('default_alarm')) { if ($alarm_value % 10080 == 0) { $alarm_value /= 10080; $t->set('week', true);