aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-09-26 16:00:41 +0000
committerChad Little <clittle@users.sourceforge.net>2003-09-26 16:00:41 +0000
commitab856ec5103b5174af8fddfbc90c9c64a65b7068 (patch)
tree1c30f558121eecccc338663451462ce7b8d1657e /index.php
parentbd44c84b346d56bf52b913bdf8ecba07df3a15cb (diff)
downloadphpicalendar-ab856ec5103b5174af8fddfbc90c9c64a65b7068.tar.gz
phpicalendar-ab856ec5103b5174af8fddfbc90c9c64a65b7068.tar.bz2
phpicalendar-ab856ec5103b5174af8fddfbc90c9c64a65b7068.zip
Fixed errors.
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 1cee6f0..afabd37 100644
--- a/index.php
+++ b/index.php
@@ -1,7 +1,8 @@
<?php
+if (!isset($ALL_CALENDARS_COMBINED)) $ALL_CALENDARS_COMBINED = 'all_calendars_combined971';
include "./config.inc.php";
-if ($HTTP_COOKIE_VARS['phpicalendar']) {
+if (isset($HTTP_COOKIE_VARS['phpicalendar'])) {
$phpicalendar = unserialize(stripslashes($HTTP_COOKIE_VARS['phpicalendar']));
$default_view = $phpicalendar['cookie_view'];
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy