diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-28 02:31:59 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-28 02:31:59 +0000 |
commit | cb5276baef1831d87d67770a0d76fb2300af5045 (patch) | |
tree | fb8dddcbe8c31ed84084c823b76af0d7d82aa791 /functions/init | |
parent | 48218216d38f52305a7a51939a9d55210af4baa9 (diff) | |
download | phpicalendar-cb5276baef1831d87d67770a0d76fb2300af5045.tar.gz phpicalendar-cb5276baef1831d87d67770a0d76fb2300af5045.tar.bz2 phpicalendar-cb5276baef1831d87d67770a0d76fb2300af5045.zip |
fix for webcals
Diffstat (limited to 'functions/init')
-rw-r--r-- | functions/init/cpaths.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/init/cpaths.php b/functions/init/cpaths.php index c1ab50b..773f3cb 100644 --- a/functions/init/cpaths.php +++ b/functions/init/cpaths.php @@ -26,7 +26,7 @@ if (isset($user_template["$cpath"])){ $template = $user_template["$cpath"]; } #set up specific webcals for a particular cpath -if (isset($phpiCal_config->more_webcals) && is_array($phpiCal_config->more_webcals[$cpath])){ - $list_webcals = array_merge($phpiCal_config->list_webcals, $phpiCal_config->more_webcals["$cpath"]); +if (isset($more_webcals) && is_array($more_webcals[$cpath])){ + $list_webcals = array_merge($list_webcals, $more_webcals["$cpath"]); } $phpiCal_config->setProperty('calendar_path',$calendar_path);
\ No newline at end of file |