Merge pull request #8747 from annando/fix-8742

Fix 8742: The pre update is now executed
This commit is contained in:
Hypolite Petovan 2020-06-07 13:05:09 -04:00 committed by GitHub
commit 59bd6fd908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -512,7 +512,7 @@ function update_1351()
function pre_update_1354() function pre_update_1354()
{ {
if(DBStructure::existsColumn('contact', 'ffi_keyword_blacklist') if (DBStructure::existsColumn('contact', ['ffi_keyword_blacklist'])
&& !DBA::e("ALTER TABLE `contact` CHANGE `ffi_keyword_blacklist` `ffi_keyword_denylist` text null")) { && !DBA::e("ALTER TABLE `contact` CHANGE `ffi_keyword_blacklist` `ffi_keyword_denylist` text null")) {
return Update::FAILED; return Update::FAILED;
} }