aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/ssh:/git@git.mageia.org
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2019-12-03 22:21:11 -0800
committerMatt Friedman <maf675@gmail.com>2019-12-03 22:21:11 -0800
commit1056cd9ca20780083f0480695348fea4cf797bbb (patch)
tree00c66fbc6dbeac1fb193b70a3b9ed44904718084 /phpBB/phpbb/template/ssh:/git@git.mageia.org
parentf6beabc59354a7b872039403574f8ceb44b6d325 (diff)
downloadforums-1056cd9ca207Patch by Marc Schumann <wurblzap@gmail.com>; r=mkanat; a=mkanat
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r--Bugzilla/BugMail.pm13
<[ticket/16246] Update automated testing section of Readme
PHPBB3-16246
Diffstat (limited to 'phpBB/phpbb/template/ssh:/git@git.mageia.org')
0 files changed, 0 insertions, 0 deletions
$anyprivate,
- $start,
+ ! $start,
$id,
exists $watching{$user_id} ?
$watching{$user_id} : undef);
@@ -522,8 +522,8 @@ sub Send {
}
sub sendMail {
- my ($user, $hlRef, $relRef, $valueRef, $dmhRef, $fdRef,
- $diffRef, $newcomments, $anyprivate, $start,
+ my ($user, $hlRef, $relRef, $valueRef, $dmhRef, $fdRef,
+ $diffRef, $newcomments, $anyprivate, $isnew,
$id, $watchingRef) = @_;
my %values = %$valueRef;
@@ -590,8 +590,6 @@ sub sendMail {
return 0;
}
- my $isnew = !$start;
-
# If an attachment was created, then add an URL. (Note: the 'g'lobal
# replace should work with comments with multiple attachments.)
@@ -629,13 +627,14 @@ sub sendMail {
my $threadingmarker;
if ($isnew) {
$threadingmarker = "Message-ID: <bug-$id-" . $user->id . "$sitespec>";
- } else {
+ }
+ else {
$threadingmarker = "In-Reply-To: <bug-$id-" . $user->id . "$sitespec>";
}
my $vars = {
- neworchanged => $isnew ? 'New: ' : '',
+ isnew => $isnew,
to => $user->email,
bugid => $id,
alias => Bugzilla->params->{'usebugaliases'} ? $values{'alias'} : "",