Shortanswers can now be '0'

This commit is contained in:
moodler
2006-03-26 15:03:08 +00:00
parent 5f9ef821df
commit 6be88c6af0
+1 -1
View File
@@ -102,7 +102,7 @@
<td align="right"><b><?php echo get_string("answer", "quiz")." $i"; ?>:</b></td>
<td align="left">
<?php
if (empty($answers[$i-1]->answer)) {
if ($answers[$i-1]->answer === '') {
$answertext = '';
$fractionval = 0;
$feedbacktext = '';