convert to $update
[MojoFacets.git] / public / code / Year.add_century.pl
index c5b3c06..839c49f 100644 (file)
@@ -1,3 +1,3 @@
 foreach my $year ( @{ $row->{Year} } ) {
-       push @{ $row->{century} }, int($year/100)+1;
+       push @{ $update->{century} }, int($year/100)+1;
 }