[LON-CAPA-cvs] cvs: loncom /homework randomlabel.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 22 Mar 2002 22:04:39 -0000
albertel Fri Mar 22 17:04:39 2002 EDT
Modified files:
/loncom/homework randomlabel.pm
Log:
- need to pop the namespace when done
Index: loncom/homework/randomlabel.pm
diff -u loncom/homework/randomlabel.pm:1.20 loncom/homework/randomlabel.pm:1.21
--- loncom/homework/randomlabel.pm:1.20 Fri Mar 22 17:00:55 2002
+++ loncom/homework/randomlabel.pm Fri Mar 22 17:04:39 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# random labelling tool
#
-# $Id: randomlabel.pm,v 1.20 2002/03/22 22:00:55 albertel Exp $
+# $Id: randomlabel.pm,v 1.21 2002/03/22 22:04:39 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -124,8 +124,7 @@
my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_;
my $result='';
my $count;
-
-
+ pop @Apache::lonxml::namespace;
if ($target eq 'web') {
$count = $Apache::randomlabel::tlabel_cnt;
if( $count != 0) { $result.= "<param name=\"count\" value=\"$count\">"; }