diff options
-rw-r--r-- | t/open311.t | 4 | ||||
-rw-r--r-- | templates/web/zurich/admin/stats.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/t/open311.t b/t/open311.t index 48a122296..b7dab2bea 100644 --- a/t/open311.t +++ b/t/open311.t @@ -154,7 +154,7 @@ for my $test ( ], }, { - title => 'magic fms_extra parameters handled correctly', + desc => 'magic fms_extra parameters handled correctly', extra => [ { name => 'fms_extra_title', @@ -190,7 +190,7 @@ for my $test ( for my $test ( { - title => 'Check uses report name over user name', + desc => 'Check uses report name over user name', name => 'Nom de Report', first_name => 'Nom', last_name => 'de Report', diff --git a/templates/web/zurich/admin/stats.html b/templates/web/zurich/admin/stats.html index 92521ff1d..52b33ebc4 100644 --- a/templates/web/zurich/admin/stats.html +++ b/templates/web/zurich/admin/stats.html @@ -13,7 +13,7 @@ <option value="">[% loc('All reports') %]</option> [% FOR y IN [ 2013 .. date.format(date.now, '%Y') ]; SET max = 12; - max = date.format(date.now, '%m') IF y == date.format(date.now, '%Y'); + SET max = date.format(date.now, '%m') IF y == date.format(date.now, '%Y'); FOR m IN [ 1 .. max ]; m = m | format('%02d'); SET v = m _ '.' _ y; |