aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2015-08-10 13:20:03 +0200
committerAndreas Fischer <bantu@phpbb.com>2015-08-10 13:20:03 +0200
commit3bd5fe6be8fbd1f70c8dc4535b9c6d3d96e1e59d (patch)
tree918e0fead0a1a26c482fca3e4ff0eb5201878a7a
parentedeeff597f070f27a28aceb17e9acdb78233128b (diff)
parent32f5dc3d8b6f9113323e9bdce78b5408309c0416 (diff)
downloadforums-3bd5fe6be8fbd1f70c8dc4535b9c6d3d96e1e59d.tar
forums-3bd5fe6be8fbd1f70c8dc4535b9c6d3d96e1e59d.tar.gz
forums-3bd5fe6be8fbd1f70c8dc4535b9c6d3d96e1e59d.tar.bz2
forums-3bd5fe6be8fbd1f70c8dc4535b9c6d3d96e1e59d.tar.xz
forums-3bd5fe6be8fbd1f70c8dc4535b9c6d3d96e1e59d.zip
Merge pull request #3811 from marcovo/ticket/14069
[ticket/14069] Corrected sql_fetchfield() in style_update_p1 migration * marcovo/ticket/14069: [ticket/14069] Corrected sql_fetchfield() in style_update_p1 migration
-rw-r--r--phpBB/phpbb/db/migration/data/v310/style_update_p1.php2
1 files changed, 1 insertions, 1 deletions
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);