summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-06-21 07:46:39 +0200
committerlpsolit%gmail.com <>2005-06-21 07:46:39 +0200
commit7f9a55a1573e31ca4189fb9a379960ede2200f4b (patch)
tree7dacb1753fd927a16ec88746255c8b3f2d5ce69c /Bugzilla
parent0b8d70a6a120da140ed41b37c5d98a902e16cae4 (diff)
downloadbugzilla-7f9a55a1573e31ca4189fb9a379960ede2200f4b.tar.gz
bugzilla-7f9a55a1573e31ca4189fb9a379960ede2200f4b.tar.xz
Bug 180792: Setting and/or updating flags does not update last changed date - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Flag.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm
index 10cbcd0d0..765ad9afa 100644
--- a/Bugzilla/Flag.pm
+++ b/Bugzilla/Flag.pm
@@ -447,6 +447,9 @@ sub update_activity {
(bug_id, attach_id, who, bug_when, fieldid, removed, added)
VALUES ($bug_id, $attach_id, $::userid, $timestamp,
$field_id, $sql_removed, $sql_added)");
+
+ $dbh->do("UPDATE bugs SET delta_ts = $timestamp WHERE bug_id = ?",
+ undef, $bug_id);
}
}