chiark / gitweb /
Fix up so hold status report still works if no capacity limit
[ypp-sc-tools.db-live.git] / yarrg / commod-update-receiver
index 9558d387892c9f1a1732c52fad64e6deef1245d0..d01b6de1753c3cbfac8b7751d0266c5af36a0116 100755 (executable)
@@ -35,7 +35,7 @@ $CGI::POST_MAX= 3*1024*1024;
 
 use CGI qw/:standard -private_tempfiles/;
 
-setlocale(LC_CTYPE, "en_GB.UTF-8");
+set_ctype_utf8();
 
 our $now= time;  defined $now or die $!;
 
@@ -110,6 +110,8 @@ $o{'island'}= must_param('island', $re_any);
 my $arches= $oceans{$o{'ocean'}};
 fail("unknown ocean") unless $arches;
 
+parse_info_serverside_ocean($o{'ocean'});
+
 my $island_found= 0;
 foreach my $islands (values %$arches) {
     my $sources= $islands->{$o{'island'}};