We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbfccf5 commit dd7087fCopy full SHA for dd7087f
src/applications/differential/mail/reviewrequest/DifferentialReviewRequestMail.php
@@ -56,9 +56,11 @@ protected function renderReviewRequestBody() {
56
$body[] = null;
57
}
58
59
- $body[] = 'TEST PLAN';
60
- $body[] = $this->formatText($revision->getTestPlan());
61
- $body[] = null;
+ if ($revision->getTestPlan() != '') {
+ $body[] = 'TEST PLAN';
+ $body[] = $this->formatText($revision->getTestPlan());
62
+ $body[] = null;
63
+ }
64
} else {
65
if (strlen($this->getComments())) {
66
$body[] = $this->formatText($this->getComments());
0 commit comments