mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8513 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
de998acda2
commit
5ca1f73703
2 changed files with 3 additions and 2 deletions
|
@ -94,6 +94,7 @@
|
||||||
<li>[Change] Make utf8_htmlspecialchars not pass its argument by reference (Bug #21885)</li>
|
<li>[Change] Make utf8_htmlspecialchars not pass its argument by reference (Bug #21885)</li>
|
||||||
<li>[Fix] Bring the PostgreSQL backup system back to working order (Bug #22385)</li>
|
<li>[Fix] Bring the PostgreSQL backup system back to working order (Bug #22385)</li>
|
||||||
<li>[Change] Sort the tables at the database table backup screen</li>
|
<li>[Change] Sort the tables at the database table backup screen</li>
|
||||||
|
<li>[Fix] Update correct theme for cached styles in style.php (Bug #25805)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<a name="v300"></a><h3>1.ii. Changes since 3.0.0</h3>
|
<a name="v300"></a><h3>1.ii. Changes since 3.0.0</h3>
|
||||||
|
|
|
@ -95,7 +95,7 @@ if ($id)
|
||||||
$user = array('user_id' => ANONYMOUS);
|
$user = array('user_id' => ANONYMOUS);
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = 'SELECT s.style_id, c.theme_data, c.theme_path, c.theme_name, c.theme_mtime, i.*, t.template_path
|
$sql = 'SELECT s.style_id, c.theme_id, c.theme_data, c.theme_path, c.theme_name, c.theme_mtime, i.*, t.template_path
|
||||||
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c, ' . STYLES_IMAGESET_TABLE . ' i
|
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c, ' . STYLES_IMAGESET_TABLE . ' i
|
||||||
WHERE s.style_id = ' . $id . '
|
WHERE s.style_id = ' . $id . '
|
||||||
AND t.template_id = s.template_id
|
AND t.template_id = s.template_id
|
||||||
|
@ -193,7 +193,7 @@ if ($id)
|
||||||
);
|
);
|
||||||
|
|
||||||
$sql = 'UPDATE ' . STYLES_THEME_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $sql_ary) . "
|
$sql = 'UPDATE ' . STYLES_THEME_TABLE . ' SET ' . $db->sql_build_array('UPDATE', $sql_ary) . "
|
||||||
WHERE theme_id = $id";
|
WHERE theme_id = {$theme['theme_id']}";
|
||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
|
|
||||||
$cache->destroy('sql', STYLES_THEME_TABLE);
|
$cache->destroy('sql', STYLES_THEME_TABLE);
|
||||||
|
|
Loading…
Add table
Reference in a new issue