From d8c2dc563701c7ec6bfa3847085efd2cae6580ee Mon Sep 17 00:00:00 2001 From: catch <6915-catch@users.noreply.drupalcode.org> Date: Wed, 28 Aug 2024 15:57:19 +0900 Subject: [PATCH] Issue #2885413: follow-up to correct the condition that skips the update. --- core/modules/system/system.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/system/system.install b/core/modules/system/system.install index bcdea27c3878..8acb99ff32fe 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -1721,7 +1721,7 @@ function _system_advisories_requirements(array &$requirements): void { */ function system_update_11001(&$sandbox) { // Execute only if allowed setting, 'timestamp_field_update_y2038', is true. - if (!Settings::get('timestamp_field_update_y2038', FALSE)) { + if (Settings::get('timestamp_field_update_y2038', FALSE) === FALSE) { return t("Update '11001 - Update TimestampItem field schema size to support dates greater than 2038' skipped due to setting of 'timestamp_field_update_y2038' in settings.php"); } $timeout = Settings::get('timestamp_field_update_y2038_timeout', 0); -- GitLab