[LON-CAPA-cvs] cvs: loncom /homework hint.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 19 Mar 2004 00:24:42 -0000
albertel Thu Mar 18 19:24:42 2004 EDT
Modified files:
/loncom/homework hint.pm
Log:
- part then response id
Index: loncom/homework/hint.pm
diff -u loncom/homework/hint.pm:1.53 loncom/homework/hint.pm:1.54
--- loncom/homework/hint.pm:1.53 Tue Mar 16 17:24:31 2004
+++ loncom/homework/hint.pm Thu Mar 18 19:24:42 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# implements the tags that control the hints
#
-# $Id: hint.pm,v 1.53 2004/03/16 22:24:31 albertel Exp $
+# $Id: hint.pm,v 1.54 2004/03/19 00:24:42 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -167,8 +167,7 @@
my $response = $Apache::lonhomework::history{
"resource.$partid.$submitid.submission"};
&Apache::lonxml::debug("hintgroup is using $response<br />\n");
- my $hideunit=&Apache::response::get_response_param($submitid.'_'.$id,
- 'turnoffunit');
+ my $hideunit=&Apache::response::get_response_param($partid.'_'.$submitid,'turnoffunit');
my $args_ref= \%{$safeeval->varglob('LONCAPA::CAPAresponse_args')};
$$args_ref{'response'}=$response;
#need to get all possible parms