aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-01-30 18:16:05 +0000
committerMatthew Somerville <matthew@mysociety.org>2014-01-30 18:20:36 +0000
commit65fbe99b7dd51244d6d23aab6d5fe514377fea47 (patch)
tree63167c7a246cfa7756d93b94d927639238cce3e8
parent7a738ee01f5ee2b58c32b7299e53b84ebd8eca82 (diff)
Correct subtest variable name, fix uninitialized value warning.
-rw-r--r--t/open311.t4
-rw-r--r--templates/web/zurich/admin/stats.html2
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;