Commit 47cd5e41 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 410836: Field name missing in error message when trying to add an already…

Bug 410836: Field name missing in error message when trying to add an already existing field value - Patch by Ronaldo Maia <romaia@async.com.br> r/a=LpSolit
parent a67c69cb
...@@ -225,7 +225,7 @@ if ($action eq 'new') { ...@@ -225,7 +225,7 @@ if ($action eq 'new') {
} }
if (ValueExists($field, $value)) { if (ValueExists($field, $value)) {
ThrowUserError('fieldvalue_already_exists', ThrowUserError('fieldvalue_already_exists',
{'field' => $field, {'field' => $field_obj,
'value' => $value}); 'value' => $value});
} }
if ($field eq 'bug_status' if ($field eq 'bug_status'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment