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

raeburn raeburn at source.lon-capa.org
Sun Apr 29 12:21:08 EDT 2018


raeburn		Sun Apr 29 16:21:08 2018 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonprintout.pm 
  Log:
  - For 2.11
    Backport 1.659
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.627.2.21 loncom/interface/lonprintout.pm:1.627.2.22
--- loncom/interface/lonprintout.pm:1.627.2.21	Tue May 30 01:30:04 2017
+++ loncom/interface/lonprintout.pm	Sun Apr 29 16:21:07 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.627.2.21 2017/05/30 01:30:04 raeburn Exp $
+# $Id: lonprintout.pm,v 1.627.2.22 2018/04/29 16:21:07 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -890,7 +890,7 @@
     my $londocroot = $Apache::lonnet::perlvar{'lonDocRoot'};
     $file =~ s{(.*)/res/}{$londocroot/res/};
 
-    open(FILE,">>$Apache::lonnet::perlvar{'lonPrtDir'}/$env{'user.name'}_$env{'user.domain'}_printout.dat");
+    open(FILE,">>","$Apache::lonnet::perlvar{'lonPrtDir'}/$env{'user.name'}_$env{'user.domain'}_printout.dat");
     print FILE ("$file\n");
     close (FILE);
 




More information about the LON-CAPA-cvs mailing list