mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue