mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge branch 'bug/aptx/54945' into develop-olympus
This commit is contained in:
commit
f493509eb2
1 changed files with 2 additions and 2 deletions
|
@ -85,10 +85,10 @@ function generate_smilies($mode, $forum_id)
|
|||
|
||||
if ($mode == 'window')
|
||||
{
|
||||
$sql = 'SELECT smiley_url, MIN(emotion) as emotion, MIN(code) AS code, smiley_width, smiley_height
|
||||
$sql = 'SELECT smiley_url, MIN(emotion) as emotion, MIN(code) AS code, smiley_width, smiley_height, MIN(smiley_order) AS min_smiley_order
|
||||
FROM ' . SMILIES_TABLE . '
|
||||
GROUP BY smiley_url, smiley_width, smiley_height
|
||||
ORDER BY MIN(smiley_order)';
|
||||
ORDER BY min_smiley_order';
|
||||
$result = $db->sql_query_limit($sql, $config['smilies_per_page'], $start, 3600);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue