From b5d2ff4074ed70c2f17bcae4d08457e7f394b695 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 30 Jun 2022 21:34:21 +0200 Subject: [PATCH] [ticket/17019] Treat removed youtube profile field as effectively installed PHPBB3-17019 --- .../db/migration/data/v33x/profilefield_youtube_update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/db/migration/data/v33x/profilefield_youtube_update.php b/phpBB/phpbb/db/migration/data/v33x/profilefield_youtube_update.php index 8436f1bd89..232e3b486f 100644 --- a/phpBB/phpbb/db/migration/data/v33x/profilefield_youtube_update.php +++ b/phpBB/phpbb/db/migration/data/v33x/profilefield_youtube_update.php @@ -30,7 +30,7 @@ class profilefield_youtube_update extends \phpbb\db\migration\migration $row = $this->db->sql_fetchrow($result); $this->db->sql_freeresult($result); - return $row['field_validation'] === $this->youtube_url_matcher; + return !$row || $row['field_validation'] === $this->youtube_url_matcher; } public static function depends_on()