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. --- print.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print.php') diff --git a/print.php b/print.php index 397ea30..e173765 100644 --- a/print.php +++ b/print.php @@ -9,10 +9,10 @@ header("Content-Type: text/html; charset=$charset"); $start_week_time = strtotime(dateOfWeek($getdate, $week_start_day)); $end_week_time = $start_week_time + (6 * 25 * 60 * 60); $parse_month = date ("Ym", strtotime($getdate)); -$printview = $_GET['printview']; $cal_displayname = str_replace("32", " ", $cal); $events_week = 0; $unix_time = strtotime($getdate); +if (!$printview) $printview = $_GET['printview']; if ($printview == 'day') { $display_date = localizeDate ($dateFormat_day, strtotime($getdate)); -- cgit v1.2.3