From 32f5dc3d8b6f9113323e9bdce78b5408309c0416 Mon Sep 17 00:00:00 2001 From: Marco Kubuntu Date: Wed, 5 Aug 2015 19:07:02 +0200 Subject: [PATCH] [ticket/14069] Corrected sql_fetchfield() in style_update_p1 migration Changed the sql_fetchfield() call to comply to the function definition. PHPBB3-14069 --- phpBB/phpbb/db/migration/data/v310/style_update_p1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/db/migration/data/v310/style_update_p1.php b/phpBB/phpbb/db/migration/data/v310/style_update_p1.php index 3b0d53d803..2c7b7edf2e 100644 --- a/phpBB/phpbb/db/migration/data/v310/style_update_p1.php +++ b/phpBB/phpbb/db/migration/data/v310/style_update_p1.php @@ -160,7 +160,7 @@ class style_update_p1 extends \phpbb\db\migration\migration FROM ' . STYLES_TABLE . " WHERE style_name = 'prosilver'"; $result = $this->sql_query($sql); - $default_style = $this->db->sql_fetchfield($result); + $default_style = $this->db->sql_fetchfield('style_id'); $this->db->sql_freeresult($result); $this->config->set('default_style', $default_style);