aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functions/init/date_range.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/functions/init/date_range.php b/functions/init/date_range.php
index e202b6d..6257304 100644
--- a/functions/init/date_range.php
+++ b/functions/init/date_range.php
@@ -26,7 +26,13 @@ if ($this_month == 12){
$end_month = 1;
$end_year++;
}
-switch ($current_view){
+
+$current_view_time = $current_view;
+if($current_view_time == 'print'){
+ $current_view_time = 'year';
+}
+
+switch ($current_view_time){
case 'month':
case 'week':
case 'day':

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