diff options
author | davef <davefd2@users.sourceforge.net> | 2005-05-06 21:44:50 +0000 |
---|---|---|
committer | davef <davefd2@users.sourceforge.net> | 2005-05-06 21:44:50 +0000 |
commit | 8c9fa31ab014070c603ca899ec489b5c85cf8bc8 (patch) | |
tree | f6c6be23e224b40d3e54038780cfd11416ee170c /index.php | |
parent | 64a602fe3319cd1cc2e87e6dfb76c3c40cf46ef6 (diff) | |
download | phpicalendar-8c9fa31ab014070c603ca899ec489b5c85cf8bc8.tar.gz phpicalendar-8c9fa31ab014070c603ca899ec489b5c85cf8bc8.tar.bz2 phpicalendar-8c9fa31ab014070c603ca899ec489b5c85cf8bc8.zip |
SF Patch # 1093772 - copied the changes out, and "applied" the patch. $printview_default works again.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 +?> |