phpBB

Code Changes

File: phpbb/db/migration/data/v310/style_update_p1.php

  Unmodified   Added   Modified   Removed
Line 160Line 160
				FROM ' . STYLES_TABLE . "
WHERE style_name = 'prosilver'";
$result = $this->sql_query($sql);

				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);

			$this->db->sql_freeresult($result);

$this->config->set('default_style', $default_style);