[LON-CAPA-cvs] cvs: loncom /xml scripttag.pm
raeburn
raeburn@source.lon-capa.org
Sun, 08 Aug 2010 03:00:56 -0000
raeburn Sun Aug 8 03:00:56 2010 EDT
Modified files:
/loncom/xml scripttag.pm
Log:
- bug 6290.
- revert args passed to Apache::lontexconvert::algebra() changed in 1.152.
(the new $tth arg in lontexconvert::algebra is appended as a sixth arg, not
added as a second arg shifting existing args).
Index: loncom/xml/scripttag.pm
diff -u loncom/xml/scripttag.pm:1.156 loncom/xml/scripttag.pm:1.157
--- loncom/xml/scripttag.pm:1.156 Wed Jun 2 21:27:50 2010
+++ loncom/xml/scripttag.pm Sun Aug 8 03:00:56 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# <script> definiton
#
-# $Id: scripttag.pm,v 1.156 2010/06/02 21:27:50 www Exp $
+# $Id: scripttag.pm,v 1.157 2010/08/08 03:00:56 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -627,7 +627,7 @@
$inside = &Apache::run::evaluate($inside,$safeeval,$$parstack[-1]);
if ($target eq 'web' || $target eq 'tex' || $target eq 'analyze') {
my $style=&Apache::lonxml::get_param('style',$parstack,$safeeval);
- $result=&Apache::lontexconvert::algebra($inside,undef,$target,$style,$parstack,$safeeval);
+ $result=&Apache::lontexconvert::algebra($inside,$target,$style,$parstack,$safeeval);
}
$Apache::lonxml::post_evaluate=0;
}