summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Config.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Config.pm b/Bugzilla/Config.pm
index f843f36b4..097c7b6c4 100644
--- a/Bugzilla/Config.pm
+++ b/Bugzilla/Config.pm
@@ -306,7 +306,7 @@ sub check_multi {
if ($param->{'type'} eq "s") {
unless (scalar(grep {$_ eq $value} (@{$param->{'choices'}}))) {
- return "Invalid choice '$value' for single-select list param '$param'";
+ return "Invalid choice '$value' for single-select list param '$param->{'name'}'";
}
return "";
@@ -314,7 +314,7 @@ sub check_multi {
elsif ($param->{'type'} eq "m") {
foreach my $chkParam (@$value) {
unless (scalar(grep {$_ eq $chkParam} (@{$param->{'choices'}}))) {
- return "Invalid choice '$chkParam' for multi-select list param '$param'";
+ return "Invalid choice '$chkParam' for multi-select list param '$param->{'name'}'";
}
}