I could swear I've fixed this thing several times.
* Replace wfMungeToUtf8 and do_html_entity_decode with a single function
that does both numeric and named chars: Sanitizer::decodeCharReferences
* Removed some obsolete UTF-8 converter functions
+* Fix function comment in debug dump of SQL statements
=== Caveats ===
}
if ( $this->debug() ) {
- $sqlx = substr( $sql, 0, 500 );
- $sqlx = strtr($sqlx,"\t\n",' ');
+ $sqlx = substr( $commentedSql, 0, 500 );
+ $sqlx = strtr( $sqlx, "\t\n", ' ' );
wfDebug( "SQL: $sqlx\n" );
}