]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1513956 - The summary in the history contains additional white spaces
authorKohei Yoshino <kohei.yoshino@gmail.com>
Wed, 20 Mar 2019 14:46:11 +0000 (10:46 -0400)
committerGitHub <noreply@github.com>
Wed, 20 Mar 2019 14:46:11 +0000 (10:46 -0400)
Bugzilla/Bug.pm

index 33ba6f6e8cfcd0e0e3bdf646f01c96d210d5d1e1..b76aa7edb9a18dbf6fa5ade09392524ea137cc8d 100644 (file)
@@ -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;
   }
 }