From: lpsolit%gmail.com <> Date: Sat, 5 Jan 2008 03:57:26 +0000 (+0000) Subject: Bug 410836: Field name missing in error message when trying to add an already existin... X-Git-Tag: bugzilla-3.1.3~409 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=47cd5e4153d5d3f2980dc1ffa1033c3f052c0748;p=thirdparty%2Fbugzilla.git Bug 410836: Field name missing in error message when trying to add an already existing field value - Patch by Ronaldo Maia r/a=LpSolit --- diff --git a/editvalues.cgi b/editvalues.cgi index 9408acd803..b37f248370 100755 --- a/editvalues.cgi +++ b/editvalues.cgi @@ -225,7 +225,7 @@ if ($action eq 'new') { } if (ValueExists($field, $value)) { ThrowUserError('fieldvalue_already_exists', - {'field' => $field, + {'field' => $field_obj, 'value' => $value}); } if ($field eq 'bug_status'