Blob Blame History Raw
=== modified file 'Bugzilla/Bug.pm'
--- Bugzilla/Bug.pm	2010-10-28 15:27:58 +0000
+++ Bugzilla/Bug.pm	2011-08-01 21:28:07 +0000
@@ -1403,7 +1403,7 @@
             || ThrowUserError("invalid_group_ID");
 
         # This can only happen if somebody hacked the enter_bug form.
-        ThrowCodeError("inactive_group", { name => $group->name })
+        ThrowCodeError("inactive_group", { group_id => $id })
             unless $group->is_active;
 
         my $membercontrol = $controls->{$id}

=== modified file 'template/en/default/global/code-error.html.tmpl'
--- template/en/default/global/code-error.html.tmpl	2010-12-30 16:50:29 +0000
+++ template/en/default/global/code-error.html.tmpl	2011-08-01 21:29:11 +0000
@@ -217,8 +217,8 @@
     A legal [% field FILTER html %] was not set.
 
   [% ELSIF error == "inactive_group" %]
-    Attempted to add [% terms.bug %] to the '[% name FILTER html %]'
-    group, which is not used for [% terms.bugs %].
+    Attempted to add [% terms.abug %] to group ID [% group_id FILTER html %],
+    which is not used for [% terms.bugs %].
 
   [% ELSIF error == "invalid_attach_id_to_obsolete" %]
      The attachment number of one of the attachments you wanted to obsolete,