[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 08 Oct 2003 16:37:30 -0000


albertel		Wed Oct  8 12:37:30 2003 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - get both of them
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.213 loncom/homework/structuretags.pm:1.214
--- loncom/homework/structuretags.pm:1.213	Wed Oct  8 12:35:04 2003
+++ loncom/homework/structuretags.pm	Wed Oct  8 12:37:30 2003
@@ -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 @@
     $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') {