From: Kohei Yoshino Date: Wed, 22 May 2019 14:46:29 +0000 (-0400) Subject: no bug - Fix typo in bug type migration script X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b1fc9ce515b6f68220c43a8f26aa818470be4bd4;p=thirdparty%2Fbugzilla.git no bug - Fix typo in bug type migration script --- diff --git a/extensions/BMO/bin/migrate-bug-type.pl b/extensions/BMO/bin/migrate-bug-type.pl index a01b3a7a4..bcb1191cb 100644 --- a/extensions/BMO/bin/migrate-bug-type.pl +++ b/extensions/BMO/bin/migrate-bug-type.pl @@ -172,7 +172,7 @@ if ($csv_file) { } say 'Change the type of all other bugs to "defect"'; -$dbh->do('UPDATE bugs SET bug_type = "defect" WHERE bug_type = NULL'); +$dbh->do('UPDATE bugs SET bug_type = "defect" WHERE bug_type IS NULL'); $dbh->bz_commit_transaction;