--- loncom/homework/structuretags.pm 2003/10/08 16:35:04 1.213 +++ loncom/homework/structuretags.pm 2003/10/08 16:37:30 1.214 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.213 2003/10/08 16:35:04 albertel Exp $ +# $Id: structuretags.pm,v 1.214 2003/10/08 16:37:30 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -939,7 +939,7 @@ sub start_part { $Apache::lonhomework::problemstatus= &Apache::lonnet::EXT("resource.$id.problemstatus"); my $hidden=&Apache::loncommon::check_if_partid_hidden($Apache::inputtags::part); - my $expression='$external::part='.$Apache::inputtags::part.';'; + my $expression='$external::part=\''.$Apache::inputtags::part.'\';'; &Apache::run::run($expression,$safeeval); if ($target eq 'meta') {