We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0783f9 commit 6f1b0f8Copy full SHA for 6f1b0f8
bin/migrate-packet-status.php
@@ -47,13 +47,13 @@
47
}
48
49
$link2->query(sprintf(
50
- 'UPDATE `packets` SET `status_bitmask` = (`status_bitmask` & ~%d) WHERE `id` = %d LIMIT 1;',
+ 'UPDATE `packets` SET `options_bitmask` = (`options_bitmask` & ~%d) WHERE `id` = %d LIMIT 1;',
51
(NEW_STATUS_RESEARCH | NEW_STATUS_DEPRECATED), $id
52
));
53
54
if ($new_status == NEW_STATUS_DEPRECATED || $new_status == NEW_STATUS_RESEARCH) {
55
56
- 'UPDATE `packets` SET `status_bitmask` = (`status_bitmask` | %d) WHERE `id` = %d LIMIT 1;',
+ 'UPDATE `packets` SET `options_bitmask` = (`options_bitmask` | %d) WHERE `id` = %d LIMIT 1;',
57
$new_status, $id
58
59
0 commit comments