From: Michael Date: Sun, 7 Jun 2020 16:41:01 +0000 (+0000) Subject: Fix 8742: The pre update is now executed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4c4f2c6a20f8f01086c7da3c3c9783fa43ff5447;p=friendica.git Fix 8742: The pre update is now executed --- diff --git a/update.php b/update.php index 341ddf891e..83011108b5 100644 --- a/update.php +++ b/update.php @@ -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; }