From: cjwatson <> Date: Mon, 25 Jul 2005 00:39:09 +0000 (-0800) Subject: [project @ 2005-07-24 17:39:09 by cjwatson] X-Git-Tag: release/2.6.0~686 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8982ac472f06627b50decda2aaccfa10da19df48;p=debbugs.git [project @ 2005-07-24 17:39:09 by cjwatson] fix syntax error --- diff --git a/scripts/errorlib.in b/scripts/errorlib.in index a7d809e5..78ee2aba 100755 --- a/scripts/errorlib.in +++ b/scripts/errorlib.in @@ -1,5 +1,5 @@ # -*- perl -*- -# $Id: errorlib.in,v 1.47 2005/07/24 17:31:18 cjwatson Exp $ +# $Id: errorlib.in,v 1.48 2005/07/24 17:39:09 cjwatson Exp $ use Mail::Address; use Debbugs::MIME qw(decode_rfc1522 encode_rfc1522); @@ -335,7 +335,7 @@ sub addfixedversions { $version =~ s/ +[A-Za-z].*//; foreach my $ver (split /[,\s]+/, $version) { - my $sver = (defined($source) ? "$source/$ver" : ''; + my $sver = defined($source) ? "$source/$ver" : ''; unless (grep { $_ eq $ver or $_ eq $sver } @{$data->{fixed_versions}}) { push @{$data->{fixed_versions}}, defined($source) ? $sver : $ver; }