From: Jan Schneider Date: Wed, 24 Mar 2010 18:24:18 +0000 (+0100) Subject: Fix updating events from the day view. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6b8a0a1f65622ad22bfef5365e295f2a512bbcea;p=horde.git Fix updating events from the day view. --- diff --git a/kronolith/lib/Ajax/Application.php b/kronolith/lib/Ajax/Application.php index dc939f499..71d16ad64 100644 --- a/kronolith/lib/Ajax/Application.php +++ b/kronolith/lib/Ajax/Application.php @@ -788,10 +788,12 @@ class Kronolith_Ajax_Application extends Horde_Ajax_Application_Base $result = $this->_signedResponse($event->calendarType . '|' . $event->calendar); try { $event->save(); + $end = new Horde_Date($this->_vars->view_end); + $end->hour = 23; + $end->min = $end->sec = 59; Kronolith::addEvents($events, $event, new Horde_Date($this->_vars->view_start), - new Horde_Date($this->_vars->view_end), - true, true); + $end, true, true); if (count($events)) { $result->events = $events; }