From 8c9fa31ab014070c603ca899ec489b5c85cf8bc8 Mon Sep 17 00:00:00 2001 From: davef Date: Fri, 6 May 2005 21:44:50 +0000 Subject: SF Patch # 1093772 - copied the changes out, and "applied" the patch. $printview_default works again. --- index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 13d55f2..9310f4e 100644 --- a/index.php +++ b/index.php @@ -7,7 +7,8 @@ if (isset($_COOKIE['phpicalendar'])) { $default_view = $phpicalendar['cookie_view']; } if ($printview_default == 'yes') { - $default_view = "print.php?printview=$default_view"; + $printview = $default_view; + $default_view = "print.php"; } else { $default_view = "$default_view" . ".php"; } @@ -15,4 +16,4 @@ if ($printview_default == 'yes') { include( $default_view ); -?> \ No newline at end of file +?> -- cgit v1.2.3