diff options
author | Andreas Fischer <bantu@phpbb.com> | 2010-02-08 16:43:39 +0000 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2010-02-08 16:43:39 +0000 |
commit | 037aea067b5e2200c52413f8b397665bf93b385e (patch) | |
tree | dfe5b45f255166c3c7a1959608c7b4914abd1090 /phpBB/includes/functions_posting.php | |
parent | d26f66703b0164c5cdd9dc4abf77450faf53ba41 (diff) | |
download | forums-037aea067b5e2200c52413f8b397665bf93b385e.tar forums-037aea067b5e2200c52413f8b397665bf93b385e.tar.gz forums-037aea067b5e2200c52413f8b397665bf93b385e.tar.bz2 forums-037aea067b5e2200c52413f8b397665bf93b385e.tar.xz forums-037aea067b5e2200c52413f8b397665bf93b385e.zip |
Fix Bug #57455 - Fix problems with firebird by no longer using 'count' as a column alias.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10484 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 0a31ea49a8..49ea382411 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -46,7 +46,7 @@ function generate_smilies($mode, $forum_id) page_header($user->lang['SMILIES']); - $sql = 'SELECT COUNT(smiley_id) AS count + $sql = 'SELECT COUNT(smiley_id) AS item_count FROM ' . SMILIES_TABLE . ' GROUP BY smiley_url'; $result = $db->sql_query($sql, 3600); |