зеркало из https://github.com/mozilla/pjs.git
Bug 332705: Taking a bug when posting a new attachment doesn't update the 'duplicates' table - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=wicked a=justdave
This commit is contained in:
Родитель
6c05df65f5
Коммит
75411947c8
|
@ -1069,7 +1069,11 @@ sub insert
|
|||
SendSQL("UPDATE bugs SET delta_ts = $sql_timestamp, " .
|
||||
join(", ", map("$fields[$_] = $newvalues[$_]", (0..3))) .
|
||||
" WHERE bug_id = $bugid");
|
||||
|
||||
|
||||
# If the bug was a dupe, we have to remove its entry from the
|
||||
# 'duplicates' table.
|
||||
$dbh->do('DELETE FROM duplicates WHERE dupe = ?', undef, $bugid);
|
||||
|
||||
# We store email addresses in the bugs_activity table rather than IDs.
|
||||
$oldvalues[0] = $oldvalues[4];
|
||||
$newvalues[0] = $newvalues[4];
|
||||
|
|
Загрузка…
Ссылка в новой задаче