mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 03:54:10 +01:00
[ticket/14069] Corrected sql_fetchfield() in style_update_p1 migration
Changed the sql_fetchfield() call to comply to the function definition. PHPBB3-14069
This commit is contained in:
parent
4aac578908
commit
32f5dc3d8b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user