From: <sy...@us...> - 2009-05-04 22:03:45
|
Revision: 18460 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=18460&view=rev Author: sylvieg Date: 2009-05-04 22:03:36 +0000 (Mon, 04 May 2009) Log Message: ----------- [FIX]calendar: the module must always display a month Modified Paths: -------------- branches/3.0/modules/mod-calendar_new.php Modified: branches/3.0/modules/mod-calendar_new.php =================================================================== --- branches/3.0/modules/mod-calendar_new.php 2009-05-04 21:45:55 UTC (rev 18459) +++ branches/3.0/modules/mod-calendar_new.php 2009-05-04 22:03:36 UTC (rev 18460) @@ -14,7 +14,7 @@ global $headerlib; $headerlib->add_cssfile('css/calendar.css',20); global $calendarViewMode; - $calendarViewMode = 'month'; + $_REQUEST['viewmode'] = 'month'; $group_by = 'day'; if (empty($module_params['calIds'])) { if (!empty($_SESSION['CalendarViewGroups'])) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |