[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm

albertel lon-capa-cvs@mail.lon-capa.org
Sun, 05 Feb 2006 18:32:41 -0000


albertel		Sun Feb  5 13:32:41 2006 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  - need to specify the () to prevent doing perl default argument passing
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.318 loncom/xml/londefdef.pm:1.319
--- loncom/xml/londefdef.pm:1.318	Sat Feb  4 17:11:42 2006
+++ loncom/xml/londefdef.pm	Sun Feb  5 13:32:40 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.318 2006/02/04 22:11:42 foxr Exp $
+# $Id: londefdef.pm,v 1.319 2006/02/05 18:32:40 albertel Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -3179,7 +3179,7 @@
 	$currentstring .= $token->[4];
     } elsif ($target eq 'tex') {
 	$currentstring .= '\begin{verbatim}';
-	&Apache::lonxml::disable_LaTeX_substitutions;
+	&Apache::lonxml::disable_LaTeX_substitutions();
     } 
     return $currentstring;
 }
@@ -3191,7 +3191,7 @@
 	$currentstring .= $token->[2];
     } elsif ($target eq 'tex') {
 	$currentstring .= '\end{verbatim}';
-	&Apache::lonxml::enable_LaTeX_substitutions;
+	&Apache::lonxml::enable_LaTeX_substitutions();
     }
     return $currentstring;
 }