--- loncom/homework/bridgetask.pm 2006/10/31 21:29:38 1.188 +++ loncom/homework/bridgetask.pm 2006/11/02 22:23:06 1.189 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.188 2006/10/31 21:29:38 albertel Exp $ +# $Id: bridgetask.pm,v 1.189 2006/11/02 22:23:06 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2164,7 +2164,7 @@ sub get_criteria { } else { my $dim_status=$Apache::lonhomework::history{"resource.$version.0.$dim.status"}; my $mandatory='Mandatory'; - if ($Apache::bridgetask::dimensionmandatory{$dim} eq 'N') { + if (&Apache::lonxml::get_param('Mandatory',$parstack,$safeeval) eq 'N') { $mandatory='Optional'; } my $dim_info="
\n";