[LON-CAPA-cvs] cvs: loncom(version_1_3_X) /interface lonprintout.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 09 Feb 2005 19:57:19 -0000


albertel		Wed Feb  9 14:57:19 2005 EDT

  Modified files:              (Branch: version_1_3_X)
    /loncom/interface	lonprintout.pm 
  Log:
  - backport 1.359
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.343.2.3 loncom/interface/lonprintout.pm:1.343.2.4
--- loncom/interface/lonprintout.pm:1.343.2.3	Wed Feb  9 14:53:55 2005
+++ loncom/interface/lonprintout.pm	Wed Feb  9 14:57:19 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.343.2.3 2005/02/09 19:53:55 albertel Exp $
+# $Id: lonprintout.pm,v 1.343.2.4 2005/02/09 19:57:19 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -698,7 +698,7 @@
 sub print_latex_header {
     my $mode=shift;
     my $output='\documentclass[letterpaper]{article}';
-    if ($mode eq 'batchmode' || !$ENV{'request.role.adv'}) {
+    if (($mode eq 'batchmode') || (!$ENV{'request.role.adv'})) {
 	$output.='\batchmode';
     }
     $output.='\newcommand{\keephidden}[1]{}\renewcommand{\deg}{$^{\circ}$}'."\n".