[geeklog-cvs] Geeklog-1.x/plugins/calendar functions.inc, 1.93, 1.94
Dirk Haun
dhaun at qs1489.pair.com
Sun Aug 3 13:43:58 EDT 2008
- Previous message (by thread): [geeklog-cvs] Geeklog-1.x/language german.php, 1.198, 1.199 german_formal.php, 1.103, 1.104 german_formal_utf-8.php, 1.56, 1.57 german_utf-8.php, 1.87, 1.88
- Next message (by thread): [geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.716,1.717
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/geeklog/Geeklog-1.x/plugins/calendar
In directory qs1489.pair.com:/tmp/cvs-serv22685/plugins/calendar
Modified Files:
functions.inc
Log Message:
Be more fault-tolerant in case $_CA_CONF['event_types'] was not set properly (for bug #0000690)
Index: functions.inc
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/calendar/functions.inc,v
retrieving revision 1.93
retrieving revision 1.94
diff -C2 -d -r1.93 -r1.94
*** functions.inc 6 Jul 2008 20:16:59 -0000 1.93
--- functions.inc 3 Aug 2008 17:43:55 -0000 1.94
***************
*** 1792,1796 ****
$retval = '';
! $event_types = $_CA_CONF['event_types'];
asort($event_types);
--- 1792,1801 ----
$retval = '';
! if (!isset($_CA_CONF['event_types']) ||
! !is_array($_CA_CONF['event_types'])) {
! $event_types = array();
! } else {
! $event_types = $_CA_CONF['event_types'];
! }
asort($event_types);
- Previous message (by thread): [geeklog-cvs] Geeklog-1.x/language german.php, 1.198, 1.199 german_formal.php, 1.103, 1.104 german_formal_utf-8.php, 1.56, 1.57 german_utf-8.php, 1.87, 1.88
- Next message (by thread): [geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.716,1.717
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the geeklog-cvs
mailing list