diff options
author | Marco Kubuntu <marcovoort@gmail.com> | 2015-08-05 19:07:02 +0200 |
---|---|---|
committer | Marco Kubuntu <marcovoort@gmail.com> | 2015-08-05 19:07:02 +0200 |
commit | 32f5dc3d8b6f9113323e9bdce78b5408309c0416 (patch) | |
tree | 459aff6c4e23bd4f9d0a64d7771fca3dd05e3161 /phpBB/phpbb | |
parent | 4aac578908b5bd2d1e176172b37c72828022f460 (diff) | |
download | forums-32f5dc3d8b6f9113323e9bdce78b5408309c0416.tar forums-32f5dc3d8b6f9113323e9bdce78b5408309c0416.tar.gz forums-32f5dc3d8b6f9113323e9bdce78b5408309c0416.tar.bz2 forums-32f5dc3d8b6f9113323e9bdce78b5408309c0416.tar.xz forums-32f5dc3d8b6f9113323e9bdce78b5408309c0416.zip |
[ticket/14069] Corrected sql_fetchfield() in style_update_p1 migration
Changed the sql_fetchfield() call to comply to the function definition.
PHPBB3-14069
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/db/migration/data/v310/style_update_p1.php | 2 |
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); |