]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
no bug - Fix typo in bug type migration script
authorKohei Yoshino <kohei.yoshino@gmail.com>
Wed, 22 May 2019 14:46:29 +0000 (10:46 -0400)
committerDylan William Hardison <dylan@hardison.net>
Wed, 22 May 2019 14:46:29 +0000 (10:46 -0400)
extensions/BMO/bin/migrate-bug-type.pl

index a01b3a7a4bcf84f6b95fe7b582d2d8a3d2a6b9e2..bcb1191cb4ae70408271625660a173cb72f69272 100644 (file)
@@ -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;