diff options
author | mkanat%kerio.com <> | 2005-03-12 04:45:01 +0100 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-03-12 04:45:01 +0100 |
commit | 4910b3f9485a928091d98e5da83b16cebae33eed (patch) | |
tree | 86285755c4d1fdcd4b7fef7a4d2e0caacf11bc20 /editproducts.cgi | |
parent | af17bfb29507e2fd93aca4e6f602c527b0e05bd2 (diff) | |
download | bugzilla-4910b3f9485a928091d98e5da83b16cebae33eed.tar.gz bugzilla-4910b3f9485a928091d98e5da83b16cebae33eed.tar.xz |
Bug 285692: lastdiffed should use NULL instead of the "beginning of time"
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=glob, a=myk
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-x | editproducts.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
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) . |