From d482264b6af8598ce50677ac6a8f781e219b7d6f Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Sun, 28 Dec 2008 19:30:41 +0000 Subject: fix misc bugs; rewrite some places where warnings squelched with @; require php5.1 or greater --- functions/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions/template.php') diff --git a/functions/template.php b/functions/template.php index 5535f69..5470bf9 100644 --- a/functions/template.php +++ b/functions/template.php @@ -1062,7 +1062,7 @@ class Page { $file = str_replace("templates/$phpiCal_config->template","templates/default",$file); } if (!is_file($file)){ - exit(error($lang['l_error_path']." template 1065", $file)); + exit(error($lang['l_error_path'], $file)); } ob_start(); include($file); -- cgit v1.2.3