mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Slight change to obtain_icon sql
git-svn-id: file:///svn/phpbb/trunk@3383 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d68426705a
commit
1c1648e394
1 changed files with 3 additions and 1 deletions
|
@ -707,7 +707,8 @@ function obtain_icons(&$icons)
|
||||||
{
|
{
|
||||||
// Topic icons
|
// Topic icons
|
||||||
$sql = "SELECT *
|
$sql = "SELECT *
|
||||||
FROM " . ICONS_TABLE;
|
FROM " . ICONS_TABLE . "
|
||||||
|
ORDER BY icons_order";
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
$icons = array();
|
$icons = array();
|
||||||
|
@ -716,6 +717,7 @@ function obtain_icons(&$icons)
|
||||||
$icons[$row['icons_id']]['img'] = $row['icons_url'];
|
$icons[$row['icons_id']]['img'] = $row['icons_url'];
|
||||||
$icons[$row['icons_id']]['width'] = $row['icons_width'];
|
$icons[$row['icons_id']]['width'] = $row['icons_width'];
|
||||||
$icons[$row['icons_id']]['height'] = $row['icons_height'];
|
$icons[$row['icons_id']]['height'] = $row['icons_height'];
|
||||||
|
$icons[$row['icons_id']]['display'] = $row['display_on_posting'];
|
||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue