From: Don Armstrong Date: Mon, 11 Feb 2008 07:08:05 +0000 (-0800) Subject: add info defined-ness check X-Git-Tag: release/2.6.0~508^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=de9ebd04e8f4149aad8734479c7220197dabe582;p=debbugs.git add info defined-ness check --- diff --git a/scripts/process.in b/scripts/process.in index c2f4ddf9..ae1aa39a 100755 --- a/scripts/process.in +++ b/scripts/process.in @@ -786,7 +786,7 @@ if (not exists $header{'x-debbugs-no-ack'} and $t_h{pr_message} = "ack${infod} $ref"; $t_h{reply_to} = "$ref\@$gEmailDomain"; $extra_vars->{refreplyto} = "$ref\@$gEmailDomain"; - $t_h{subject} = length($info)? + $t_h{subject} = (defined $info and length($info))? "$gBug#$ref: Info received ($subject)" : "$gBug#$ref: Acknowledgement ($subject)"; }