Index: question/format/hotpot/format.php =================================================================== RCS file: /cvsroot/moodle/moodle/question/format/hotpot/format.php,v retrieving revision 1.12.4.7 diff -u -r1.12.4.7 format.php --- question/format/hotpot/format.php 17 Apr 2009 01:50:11 -0000 1.12.4.7 +++ question/format/hotpot/format.php 30 Aug 2009 07:52:58 -0000 @@ -188,7 +188,7 @@ $text = $this->hotpot_prepare_str($xml->xml_value($tags, $answer."['text'][0]['#']")); $correct = $xml->xml_value($tags, $answer."['correct'][0]['#']"); $feedback = $this->hotpot_prepare_str($xml->xml_value($tags, $answer."['feedback'][0]['#']")); - if ($text) { + if ($text != '') { // set score (0=0%, 1=100%) $fraction = empty($correct) ? 0 : 1; // store answer