[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /homework outputtags.pm

raeburn raeburn at source.lon-capa.org
Tue Sep 11 10:39:47 EDT 2018


raeburn		Tue Sep 11 14:39:47 2018 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/homework	outputtags.pm 
  Log:
  - For 2.11
    Backport 1.61
  
  
Index: loncom/homework/outputtags.pm
diff -u loncom/homework/outputtags.pm:1.58 loncom/homework/outputtags.pm:1.58.4.1
--- loncom/homework/outputtags.pm:1.58	Tue Aug  9 23:43:42 2016
+++ loncom/homework/outputtags.pm	Tue Sep 11 14:39:47 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # tags that create controlled output
 #
-# $Id: outputtags.pm,v 1.58 2016/08/09 23:43:42 raeburn Exp $
+# $Id: outputtags.pm,v 1.58.4.1 2018/09/11 14:39:47 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -321,7 +321,7 @@
 	my $response=$ua->request($request);
 	if ($response->is_success) {
 	    my $file=$user."_".$domain."_studentphoto.eps";
-	    open(FILE,">".$Apache::lonnet::perlvar{'lonPrtDir'}."/$file");
+	    open(FILE,">",$Apache::lonnet::perlvar{'lonPrtDir'}."/$file");
 	    print FILE $response->content;
 	    close(FILE);
 	    my $width_param=&Apache::londefdef::image_size($Apache::lonnet::perlvar{'lonPrtDir'}."/$file",'0.3',$parstack,$safeeval);




More information about the LON-CAPA-cvs mailing list