From 2094094b766114f327defc1987e20d0d826eaa88 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 10 Oct 2003 15:58:34 +0000 Subject: [PATCH] group by smile_url git-svn-id: file:///svn/phpbb/trunk@4548 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_posting.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index c0ee0c35c9..b106799c7b 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -52,6 +52,7 @@ function generate_smilies($mode, $forum_id) $sql = 'SELECT * FROM ' . SMILIES_TABLE . (($mode == 'inline') ? ' WHERE display_on_posting = 1 ' : '') . ' + GROUP BY smile_url ORDER BY smile_order'; $result = $db->sql_query($sql, 3600);