From: Kohei Yoshino Date: Wed, 20 Mar 2019 14:46:11 +0000 (-0400) Subject: Bug 1513956 - The summary in the history contains additional white spaces X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a60e6161e79df9a9a6a0244e4d01009fac02f09f;p=thirdparty%2Fbugzilla.git Bug 1513956 - The summary in the history contains additional white spaces --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 33ba6f6e8..b76aa7edb 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -4638,7 +4638,7 @@ sub _join_activity_entries { return $current_change . $new_change; } else { - return $current_change . ' ' . $new_change; + return $current_change . ($current_change && $new_change ? ' ' : '') . $new_change; } }