aboutsummaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/index.php')
-rw-r--r--www/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/index.php b/www/index.php
index 1483b84..74dd5a6 100644
--- a/www/index.php
+++ b/www/index.php
@@ -106,6 +106,7 @@ if (!$galerie) {
$thisyear = 0;
+ if (!$yearto) $yearto = date("Y");
for ($i = $yearto; $i >= $yearsince; $i--) {
for ($thismonth=12; $thismonth>0; $thismonth--) { // go year by year, month by month
// down