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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 02 Mar 2006 22:04:05 -0000


albertel		Thu Mar  2 17:04:05 2006 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - typo
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.337 loncom/homework/structuretags.pm:1.338
--- loncom/homework/structuretags.pm:1.337	Thu Mar  2 16:20:30 2006
+++ loncom/homework/structuretags.pm	Thu Mar  2 17:04:04 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.337 2006/03/02 21:20:30 albertel Exp $
+# $Id: structuretags.pm,v 1.338 2006/03/02 22:04:04 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -36,6 +36,7 @@
 use Apache::lonmenu;
 use Apache::lonlocal;
 use Apache::lonxml;
+use Apache::lonenc();
 use Time::HiRes qw( gettimeofday tv_interval );
 BEGIN {
     &Apache::lonxml::register('Apache::structuretags',('block','languageblock','instructorcomment','while','randomlist','problem','library','web','tex','part','preduedate','postanswerdate','solved','notsolved','problemtype','startouttext','endouttext','simpleeditbutton','definetag'));
@@ -157,7 +158,7 @@
     my $form_tag_start;
     if (!defined($found{'form'})) {
 	$form_tag_start='<form name="lonhomework" enctype="multipart/form-data" method="post" action="';
-	my $uri = &Apache::lonenc::check_encrypted($env{'request.uri'});
+	my $uri = &Apache::lonenc::check_encrypt($env{'request.uri'});
 	$form_tag_start.=$uri.'" ';
 	if ($target eq 'edit') {
 	    $form_tag_start.=&Apache::edit::form_change_detection();