From 9bf2249c0b1e206bfe07171080943a2bf5c5f390 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 28 Sep 2006 00:45:01 +0000 Subject: [PATCH] r1196: - Changes += 2 - Fix a bug where the comment add branch of editreport.php isn't hit if there's an automation comment but no user comment --- docs/changes.txt | 2 ++ editreport.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index d5aa02a..571c6b5 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -1,6 +1,8 @@ 1.1.0 =============================== - When gettext is not installed, a "method call on unobject" error is thrown +- Renamed "automatic action" to "automation" +- If no user comment is entered but there's an automation comment, then the automation comment is no longer disregarded 1.1.0 Release Candidate 1 =============================== diff --git a/editreport.php b/editreport.php index 89009dc..6cd39be 100644 --- a/editreport.php +++ b/editreport.php @@ -172,7 +172,7 @@ if ($_POST['do'] == 'update') // ------------------------------------------------------------------- // process comment stuff - if ($bugsys->in['comment']) + if ($bugsys->in['comment'] OR $automation['comment']) { if (!empty($bugsys->in['comment']) AND $automation['comment']) { -- 2.43.5