PHP4 not used any more
authorPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 11:42:02 +0000 (11:42 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 11:42:02 +0000 (11:42 +0000)
question/format/blackboard/format.php

index 5c7d889..b74b150 100644 (file)
@@ -66,7 +66,7 @@ function process_essay($xml, &$questions ) {
 
         // put questiontext in question object
         if ($ishtml) {
-            $question->questiontext = html_entity_decode_php4(trim($essayquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]));
+            $question->questiontext = html_entity_decode(trim($essayquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]));
         }
 
         // put name in question object