diff options
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) . |