aboutsummaryrefslogtreecommitdiffstats
path: root/editvalues.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-20 04:34:30 +0000
committerlpsolit%gmail.com <>2005-07-20 04:34:30 +0000
commita4986f31f3a9db819122aef57af03b90c1b6dd0a (patch)
treebca3e3638d113728f6950d15d3611afa46a67725 /editvalues.cgi
parentd3fe18c0f0ddb260b0cdcfec8f5d8a4a4e830c37 (diff)
downloadbugs-a4986f31f3a9db819122aef57af03b90c1b6dd0a.tar
bugs-a4986f31f3a9db819122aef57af03b90c1b6dd0a.tar.gz
bugs-a4986f31f3a9db819122aef57af03b90c1b6dd0a.tar.bz2
bugs-a4986f31f3a9db819122aef57af03b90c1b6dd0a.tar.xz
bugs-a4986f31f3a9db819122aef57af03b90c1b6dd0a.zip
Bug 301240: editvalues.cgi should not update bugs.delta_ts - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=myk
Diffstat (limited to 'editvalues.cgi')
-rwxr-xr-xeditvalues.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editvalues.cgi b/editvalues.cgi
index 261100c0e..cd73daeab 100755
--- a/editvalues.cgi
+++ b/editvalues.cgi
@@ -355,8 +355,8 @@ if ($action eq 'update') {
}
trick_taint($value);
- $dbh->do("UPDATE bugs SET $field = ?, delta_ts = NOW()
- WHERE $field = ?", undef, $value, $valueold);
+ $dbh->do("UPDATE bugs SET $field = ? WHERE $field = ?",
+ undef, $value, $valueold);
$dbh->do("UPDATE $field SET value = ? WHERE value = ?",
undef, $value, $valueold);