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

Bug 301240: editvalues.cgi should not update bugs.delta_ts - Patch by Frédéric…

Bug 301240: editvalues.cgi should not update bugs.delta_ts - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=myk
parent d3fe18c0
...@@ -355,8 +355,8 @@ if ($action eq 'update') { ...@@ -355,8 +355,8 @@ if ($action eq 'update') {
} }
trick_taint($value); trick_taint($value);
$dbh->do("UPDATE bugs SET $field = ?, delta_ts = NOW() $dbh->do("UPDATE bugs SET $field = ? WHERE $field = ?",
WHERE $field = ?", undef, $value, $valueold); undef, $value, $valueold);
$dbh->do("UPDATE $field SET value = ? WHERE value = ?", $dbh->do("UPDATE $field SET value = ? WHERE value = ?",
undef, $value, $valueold); undef, $value, $valueold);
......
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