From 4910b3f9485a928091d98e5da83b16cebae33eed Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Sat, 12 Mar 2005 03:45:01 +0000 Subject: Bug 285692: lastdiffed should use NULL instead of the "beginning of time" Patch By Max Kanat-Alexander r=glob, a=myk --- editproducts.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editproducts.cgi') diff --git a/editproducts.cgi b/editproducts.cgi index ea4bc5e5b..de0c874e2 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -1187,7 +1187,7 @@ if ($action eq 'updategroupcontrols') { LogActivityEntry($bugid, "bug_group", $removed, "", $::userid, $timestamp); my $diffed = ""; - if ($mailiscurrent != 0) { + if ($mailiscurrent) { $diffed = ", lastdiffed = " . SqlQuote($timestamp); } SendSQL("UPDATE bugs SET delta_ts = " . SqlQuote($timestamp) . @@ -1221,7 +1221,7 @@ if ($action eq 'updategroupcontrols') { LogActivityEntry($bugid, "bug_group", "", $added, $::userid, $timestamp); my $diffed = ""; - if ($mailiscurrent != 0) { + if ($mailiscurrent) { $diffed = ", lastdiffed = " . SqlQuote($timestamp); } SendSQL("UPDATE bugs SET delta_ts = " . SqlQuote($timestamp) . -- cgit v1.2.3-24-g4f1b