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

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


albertel		Wed Oct  8 12:35:04 2003 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - some part ids would cause silly errors
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.212 loncom/homework/structuretags.pm:1.213
--- loncom/homework/structuretags.pm:1.212	Fri Oct  3 11:27:02 2003
+++ loncom/homework/structuretags.pm	Wed Oct  8 12:35:04 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.212 2003/10/03 15:27:02 albertel Exp $
+# $Id: structuretags.pm,v 1.213 2003/10/08 16:35:04 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -355,7 +355,7 @@
     }
 
     #added vars to the scripting enviroment
-    my $expression='$external::part='.$Apache::inputtags::part.';';
+    my $expression='$external::part=\''.$Apache::inputtags::part.'\';';
     &Apache::run::run($expression,$safeeval);
     my $status;
     my $accessmsg;