--- loncom/homework/hint.pm 2008/09/11 14:47:17 1.69 +++ loncom/homework/hint.pm 2008/09/13 02:08:32 1.71 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # implements the tags that control the hints # -# $Id: hint.pm,v 1.69 2008/09/11 14:47:17 bisitz Exp $ +# $Id: hint.pm,v 1.71 2008/09/13 02:08:32 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -422,6 +422,9 @@ sub end_stringhint { my $args_ref = &Apache::caparesponse::setup_capa_args($safeeval,$parstack, \@args,$response); + if ($$args_ref{'type'} eq '') { + $$args_ref{'type'} = 'ci'; + } &Apache::caparesponse::add_in_tag_answer($parstack,$safeeval); my (@final_awards,@final_msgs,@ans_names); my %answer = &Apache::caparesponse::get_answer();