From: Michael J. Rubinsky Date: Fri, 13 Feb 2009 21:28:03 +0000 (-0500) Subject: Revert "lower case the action string before comparing" X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=11587fcbe938c1ef19a6faf51b9f71d7e4d3ccd8;p=horde.git Revert "lower case the action string before comparing" This needed to be fixed in Util::getPathInfo() by not trusting PATH_INFO from lighttpd This reverts commit 0f8b561da41ebaab8d699b665a2ed3f396bb34cb. --- diff --git a/kronolith/ajax.php b/kronolith/ajax.php index e40628e4a..e309dbe6d 100644 --- a/kronolith/ajax.php +++ b/kronolith/ajax.php @@ -52,8 +52,8 @@ ob_start(); $notify = true; $result = false; -switch (strtolower($action)) { -case 'listevents': +switch ($action) { +case 'ListEvents': $dates = Kronolith::listEvents(Util::getFormData('start'), Util::getFormData('end')); if (is_a($dates, 'PEAR_Error')) { $notification->push($dates, 'horde.error'); @@ -69,7 +69,7 @@ case 'listevents': } break; -case 'chunkcontent': +case 'ChunkContent': $chunk = basename(Util::getPost('chunk')); if (!empty($chunk)) { $result = new stdClass;