aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/message_parser.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-10-01 08:48:32 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-10-01 08:48:32 +0000
commitbc15445b58403c92ebca9e23ef3d9a59fbdccc92 (patch)
tree46880b44be1949f01ada2f29e7f3f42ab4123c1b /phpBB/includes/message_parser.php
parentbc770de9b93973a359a46ef39838e89f18e685ae (diff)
downloadforums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar
forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar.gz
forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar.bz2
forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.tar.xz
forums-bc15445b58403c92ebca9e23ef3d9a59fbdccc92.zip
- forgot to make the same change to the ODBC driver
- MySQL 3.x works now - FirebirdSQL is now on the same level as MySQL and PostgreSQL, zero hacks exist inside the core code now git-svn-id: file:///svn/phpbb/trunk@6422 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r--phpBB/includes/message_parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php
index f6b3302dc1..cad82aaf8c 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -1089,7 +1089,7 @@ class parse_message extends bbcode_firstpass
case 'firebird':
$sql = 'SELECT *
FROM ' . SMILIES_TABLE . '
- ORDER BY STRLEN(code) DESC';
+ ORDER BY CHAR_LENGTH(code) DESC';
break;
// LENGTH supported by MySQL, IBM DB2, Oracle and Access for sure...