From: Don Armstrong Date: Thu, 19 Feb 2009 04:42:17 +0000 (-0800) Subject: english_join needs to actually return and use params X-Git-Tag: release/2.6.0~461^2~58 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=84ae843b16b0d2e213057509bef62f08f771fc6f;p=debbugs.git english_join needs to actually return and use params --- diff --git a/Debbugs/Common.pm b/Debbugs/Common.pm index 4f85a8f7..aaa8db19 100644 --- a/Debbugs/Common.pm +++ b/Debbugs/Common.pm @@ -533,9 +533,9 @@ element, returns that element. sub english_join { if (ref $_[0] eq 'ARRAY') { - english_join(list=>$_[0]); + return english_join(list=>$_[0]); } - my %param = validate_with(param => \@_, + my %param = validate_with(params => \@_, spec => {normal => {type => SCALAR, default => ', ', },