aboutsummaryrefslogtreecommitdiffstats
path: root/functions/calendar_functions.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-28 19:30:41 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-28 19:30:41 +0000
commitd482264b6af8598ce50677ac6a8f781e219b7d6f (patch)
tree5bff034467e4ed8e1b1fe442c7de643f112da7f7 /functions/calendar_functions.php
parentfc3e1a8590046c858b2ddebdf6c43df8240e9a97 (diff)
downloadphpicalendar-d482264b6af8598ce50677ac6a8f781e219b7d6f.tar.gz
phpicalendar-d482264b6af8598ce50677ac6a8f781e219b7d6f.tar.bz2
phpicalendar-d482264b6af8598ce50677ac6a8f781e219b7d6f.zip
fix misc bugs; rewrite some places where warnings squelched with @; require php5.1 or greater
Diffstat (limited to 'functions/calendar_functions.php')
-rw-r--r--functions/calendar_functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/calendar_functions.php b/functions/calendar_functions.php
index 8f02bd7..ef423b6 100644
--- a/functions/calendar_functions.php
+++ b/functions/calendar_functions.php
@@ -73,9 +73,9 @@ function availableCalendars($username, $password, $cal_filename, $admin = false)
if ($find_all || $phpiCal_config->recursive_path == 'yes' || $phpiCal_config->support_ical == 'yes') {
// Open the directory.
$dir_handle = opendir($search_path)
- or die(error("cal fn 78:".sprintf($lang['l_error_path'], $search_path), implode(',', $cal_filename)));
+ or die(error(sprintf($lang['l_error_path'], $search_path), implode(',', $cal_filename)));
if ($dir_handle === false)
- die(error(" cal fn 80:".sprintf($lang['l_error_path'], $search_path), implode(',', $cal_filename)));
+ die(error(sprintf($lang['l_error_path'], $search_path), implode(',', $cal_filename)));
// Add each file in the directory that does not begin with a dot.
while (false !== ($file = readdir($dir_handle))) {

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