aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-08-23 15:11:11 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-08-23 15:11:11 +0000
commitcb2f931b422795174c468c90cb1db662d51fc763 (patch)
tree77c035799d91016780ed374fdd32e07debeefdd0 /phpBB/includes/functions.php
parente5753a137130fa18bde2f02b841225ef082ece89 (diff)
downloadforums-cb2f931b422795174c468c90cb1db662d51fc763.tar
forums-cb2f931b422795174c468c90cb1db662d51fc763.tar.gz
forums-cb2f931b422795174c468c90cb1db662d51fc763.tar.bz2
forums-cb2f931b422795174c468c90cb1db662d51fc763.tar.xz
forums-cb2f931b422795174c468c90cb1db662d51fc763.zip
LENGTH not compatible with ODBC
git-svn-id: file:///svn/phpbb/trunk@921 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index abe592a100..ce2160437b 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -781,9 +781,8 @@ function smilies_pass($message)
if(empty($smilies))
{
- $sql = "SELECT code, smile_url, LENGTH(code) as length
- FROM " . SMILIES_TABLE . "
- ORDER BY length DESC";
+ $sql = "SELECT code, smile_url
+ FROM " . SMILIES_TABLE;
if($result = $db->sql_query($sql))
{
$smilies = $db->sql_fetchrowset($result);