chiark / gitweb /
Cosmetic and error report bugfixes
[ypp-sc-tools.db-test.git] / yarrg / web / check_capacitystring
index 088c6c5a13a54c37aed7028e05345a64116b351e..3d8f7a52701fd2983c09ca6bdc6629af1467ec91 100644 (file)
@@ -63,7 +63,7 @@ foreach $_ (split /\s+/, ${ $h->{String} }) {
        } elsif (m/^([1-9]\d{0,5}(?:\.\d{0,3})?)t/) {
                $def->('mass', $1 * 1000);
        } else {
-               $h->{Emsg}= "Cannot understand capacity \`$_'.";
+               ${ $h->{Emsg} }= "Cannot understand capacity \`$_'.";
                last;
        }
 }