diff options
Diffstat (limited to 'functions/template.php')
-rw-r--r-- | functions/template.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/template.php b/functions/template.php index 4d7ad72..cc80925 100644 --- a/functions/template.php +++ b/functions/template.php @@ -5,8 +5,8 @@ class Page { var $page; function draw_subscribe($template_p) { - global $phpiCal_config, $getdate, $cal, $ALL_CALENDARS_COMBINED, $subscribe_path, $download_filename; - if ($cal != $ALL_CALENDARS_COMBINED && $subscribe_path != '' && $download_filename != '') { + global $phpiCal_config, $getdate, $cal, $subscribe_path, $download_filename; + if ($cal != $phpiCal_config->ALL_CALENDARS_COMBINED && $subscribe_path != '' && $download_filename != '') { $this->page = str_replace('{SUBSCRIBE_PATH}', $subscribe_path, $this->page); $this->page = str_replace('{DOWNLOAD_FILENAME}', $download_filename, $this->page); } else { |