Skip to content

Commit 6f1b0f8

Browse files
committed
Fix typo in migrate script
1 parent b0783f9 commit 6f1b0f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/migrate-packet-status.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
}
4848

4949
$link2->query(sprintf(
50-
'UPDATE `packets` SET `status_bitmask` = (`status_bitmask` & ~%d) WHERE `id` = %d LIMIT 1;',
50+
'UPDATE `packets` SET `options_bitmask` = (`options_bitmask` & ~%d) WHERE `id` = %d LIMIT 1;',
5151
(NEW_STATUS_RESEARCH | NEW_STATUS_DEPRECATED), $id
5252
));
5353

5454
if ($new_status == NEW_STATUS_DEPRECATED || $new_status == NEW_STATUS_RESEARCH) {
5555
$link2->query(sprintf(
56-
'UPDATE `packets` SET `status_bitmask` = (`status_bitmask` | %d) WHERE `id` = %d LIMIT 1;',
56+
'UPDATE `packets` SET `options_bitmask` = (`options_bitmask` | %d) WHERE `id` = %d LIMIT 1;',
5757
$new_status, $id
5858
));
5959
}

0 commit comments

Comments
 (0)