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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 10 Sep 2003 21:18:07 -0000


albertel		Wed Sep 10 17:18:07 2003 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - introspection was borken
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.208 loncom/homework/structuretags.pm:1.209
--- loncom/homework/structuretags.pm:1.208	Thu Sep  4 22:31:49 2003
+++ loncom/homework/structuretags.pm	Wed Sep 10 17:18:07 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.208 2003/09/05 02:31:49 albertel Exp $
+# $Id: structuretags.pm,v 1.209 2003/09/10 21:18:07 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -933,6 +933,8 @@
     $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.';';
+    &Apache::run::run($expression,$safeeval);
 
     if ($target eq 'meta') {
 	return &Apache::response::mandatory_part_meta;