[geeklog-cvs] Geeklog-1.x/plugins/calendar functions.inc, 1.85, 1.86
Dirk Haun
dhaun at qs1489.pair.com
Thu May 22 09:59:47 EDT 2008
Update of /cvsroot/geeklog/Geeklog-1.x/plugins/calendar
In directory qs1489.pair.com:/tmp/cvs-serv33745/plugins/calendar
Modified Files:
functions.inc
Log Message:
Bugfix: In some cases, personal events would end up in the submission queue for site events
Index: functions.inc
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/calendar/functions.inc,v
retrieving revision 1.85
retrieving revision 1.86
diff -C2 -d -r1.85 -r1.86
*** functions.inc 22 May 2008 13:24:59 -0000 1.85
--- functions.inc 22 May 2008 13:59:45 -0000 1.86
***************
*** 635,640 ****
global $_CONF, $_USER, $_CA_CONF, $LANG_CAL_1;
! if (isset ($_POST['calendar_type'])) {
$mode = $_POST['calendar_type'];
}
--- 635,642 ----
global $_CONF, $_USER, $_CA_CONF, $LANG_CAL_1;
! if (isset($_POST['calendar_type'])) {
$mode = $_POST['calendar_type'];
+ } else if (isset($_REQUEST['mode']) && ($_REQUEST['mode'] == 'personal')) {
+ $mode = 'personal';
}
More information about the geeklog-cvs
mailing list