Index: lib/html2text.php
===================================================================
RCS file: /cvsroot/moodle/moodle/lib/html2text.php,v
retrieving revision 1.8.26.8
diff -u -r1.8.26.8 html2text.php
--- lib/html2text.php 4 Aug 2010 17:39:56 -0000 1.8.26.8
+++ lib/html2text.php 2 Nov 2010 15:58:36 -0000
@@ -589,10 +589,8 @@
*/
function _strtoupper($str)
{
- if (function_exists('mb_strtoupper'))
- return mb_strtoupper($str);
- else
- return strtoupper($str);
+ $tl = textlib_get_instance();
+ return $tl->strtoupper($str);
}
}