summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-10-17 08:15:44 +0200
committergerv%gerv.net <>2002-10-17 08:15:44 +0200
commitd69b9a45e9b7031fc569ca1970abd012a84fede1 (patch)
treecd3f7379862ee29e185d8d18bce9b8cfc8feb810 /process_bug.cgi
parent7d49572502f78d54ba400392d78da146f401f5a4 (diff)
downloadbugzilla-d69b9a45e9b7031fc569ca1970abd012a84fede1.tar.gz
bugzilla-d69b9a45e9b7031fc569ca1970abd012a84fede1.tar.xz
Bug 174221 - field names should be l10n in user-errors.html.tmpl. Patch by jeff.hedlund@matrixsi.com; r=burnus, gerv.
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 439587178..43895ced3 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -710,7 +710,7 @@ foreach my $field ("estimated_time", "remaining_time") {
my $er_time = trim($::FORM{$field});
if ($er_time ne $::FORM{'dontchange'}) {
if ($er_time > 99999.99) {
- ThrowUserError("value_out_of_range", {variable => $field});
+ ThrowUserError("value_out_of_range", {field => $field});
}
if ($er_time =~ /^(?:\d+(?:\.\d*)?|\.\d+)$/) {
DoComma();
@@ -1199,7 +1199,7 @@ foreach my $id (@idlist) {
$timestamp = FetchOneColumn();
if ($::FORM{'work_time'} > 99999.99) {
- ThrowUserError("value_out_of_range", {variable => 'work_time'});
+ ThrowUserError("value_out_of_range", {field => 'work_time'});
}
if (defined $::FORM{'comment'} || defined $::FORM{'work_time'}) {
if ($::FORM{'work_time'} != 0 &&