Commit 44363502 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 180792: Setting and/or updating flags does not update last changed date -…

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
parent 973bac6e
...@@ -447,6 +447,9 @@ sub update_activity { ...@@ -447,6 +447,9 @@ sub update_activity {
(bug_id, attach_id, who, bug_when, fieldid, removed, added) (bug_id, attach_id, who, bug_when, fieldid, removed, added)
VALUES ($bug_id, $attach_id, $::userid, $timestamp, VALUES ($bug_id, $attach_id, $::userid, $timestamp,
$field_id, $sql_removed, $sql_added)"); $field_id, $sql_removed, $sql_added)");
$dbh->do("UPDATE bugs SET delta_ts = $timestamp WHERE bug_id = ?",
undef, $bug_id);
} }
} }
......
...@@ -1251,7 +1251,7 @@ sub update ...@@ -1251,7 +1251,7 @@ sub update
# If the user submitted a comment while editing the attachment, # If the user submitted a comment while editing the attachment,
# add the comment to the bug. # add the comment to the bug.
if (defined $cgi->param('comment')) if ($cgi->param('comment'))
{ {
# Prepend a string to the comment to let users know that the comment came # Prepend a string to the comment to let users know that the comment came
# from the "edit attachment" screen. # from the "edit attachment" screen.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment