]> git.mxchange.org Git - friendica.git/commitdiff
Fix 8742: The pre update is now executed
authorMichael <heluecht@pirati.ca>
Sun, 7 Jun 2020 16:41:01 +0000 (16:41 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 7 Jun 2020 16:41:01 +0000 (16:41 +0000)
update.php

index 341ddf891e72d9cfa2af7f5fa604878987d697d1..83011108b539b6dcaafcd7b724e01d33bd9e4584 100644 (file)
@@ -512,7 +512,7 @@ function update_1351()
 
 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")) {
                return Update::FAILED;
        }