[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface loncommon.pm

raeburn raeburn at source.lon-capa.org
Thu May 15 16:37:23 EDT 2014


raeburn		Thu May 15 20:37:23 2014 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	loncommon.pm 
  Log:
  - For 2.11
    - Backport 1.1188.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1075.2.71 loncom/interface/loncommon.pm:1.1075.2.72
--- loncom/interface/loncommon.pm:1.1075.2.71	Sun May  4 15:44:46 2014
+++ loncom/interface/loncommon.pm	Thu May 15 20:37:22 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.1075.2.71 2014/05/04 15:44:46 raeburn Exp $
+# $Id: loncommon.pm,v 1.1075.2.72 2014/05/15 20:37:22 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -7296,7 +7296,10 @@
 	'<head>'.
 	&font_settings($args);
 
-    my $inhibitprint = &print_suppression();
+    my $inhibitprint;
+    if ($args->{'print_suppress'}) {
+        $inhibitprint = &print_suppression();
+    }
 
     if (!$args->{'frameset'}) {
 	$result .= &Apache::lonhtmlcommon::htmlareaheaders();




More information about the LON-CAPA-cvs mailing list