Skip to content

Commit

Permalink
Fixing file upload question template
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugh Lashbrooke committed Apr 3, 2014
1 parent aeffebf commit 99e8ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/single-quiz/question_type-file-upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
<?php } ?>
<?php if( ! $lesson_complete ) { ?>
<input type="file" name="file_upload_<?php echo $question_id; ?>" />
<input type="hidden" name="sensei_question[<?php echo $question_id; ?>]" value="true" />
<input type="hidden" name="sensei_question[<?php echo $question_id; ?>]" value="<?php echo esc_attr( $user_quizzes[ $question_id ] ); ?>" />
<aside class="max_upload_size"><?php echo $max_upload_size; ?></aside>
<?php } ?>
</li>

0 comments on commit 99e8ab2

Please sign in to comment.