summaryrefslogtreecommitdiffstats
path: root/editproducts.cgi
diff options
context:
space:
mode:
authorjustdave%bugzilla.org <>2005-01-30 13:22:27 +0100
committerjustdave%bugzilla.org <>2005-01-30 13:22:27 +0100
commitd9e238bc897b7614a81784dbebc69b9a155c9539 (patch)
tree53c77604819036f28ff7e833e3a6e2514d04883a /editproducts.cgi
parentc59641d038e2892db2c40047dde929a2207dd297 (diff)
downloadbugzilla-d9e238bc897b7614a81784dbebc69b9a155c9539.tar.gz
bugzilla-d9e238bc897b7614a81784dbebc69b9a155c9539.tar.xz
Backing out the checking from bug 257315 until it gets corrected. It prevents new bugs from being filed.
a=justdave
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-xeditproducts.cgi16
1 files changed, 8 insertions, 8 deletions
diff --git a/editproducts.cgi b/editproducts.cgi
index b10a238fc..8fe1a5ec5 100755
--- a/editproducts.cgi
+++ b/editproducts.cgi
@@ -1176,12 +1176,12 @@ if ($action eq 'updategroupcontrols') {
my ($removed, $timestamp) = FetchSQLData();
LogActivityEntry($bugid, "bug_group", $removed, "",
$::userid, $timestamp);
- my $diffed = "";
if ($mailiscurrent != 0) {
- $diffed = ", lastdiffed = " . SqlQuote($timestamp);
+ SendSQL("UPDATE bugs SET lastdiffed = " . SqlQuote($timestamp)
+ . " WHERE bug_id = $bugid");
}
- SendSQL("UPDATE bugs SET delta_ts = " . SqlQuote($timestamp) .
- $diffed . " WHERE bug_id = $bugid");
+ SendSQL("UPDATE bugs SET delta_ts = " . SqlQuote($timestamp)
+ . " WHERE bug_id = $bugid");
PopGlobalSQLState();
$count++;
}
@@ -1210,12 +1210,12 @@ if ($action eq 'updategroupcontrols') {
my ($added, $timestamp) = FetchSQLData();
LogActivityEntry($bugid, "bug_group", "", $added,
$::userid, $timestamp);
- my $diffed = "";
if ($mailiscurrent != 0) {
- $diffed = ", lastdiffed = " . SqlQuote($timestamp);
+ SendSQL("UPDATE bugs SET lastdiffed = " . SqlQuote($timestamp)
+ . " WHERE bug_id = $bugid");
}
- SendSQL("UPDATE bugs SET delta_ts = " . SqlQuote($timestamp) .
- $diffed . " WHERE bug_id = $bugid");
+ SendSQL("UPDATE bugs SET delta_ts = " . SqlQuote($timestamp)
+ . " WHERE bug_id = $bugid");
PopGlobalSQLState();
$count++;
}