--- loncom/interface/domainprefs.pm 2017/06/22 02:11:25 1.160.6.84.2.1 +++ loncom/interface/domainprefs.pm 2020/04/06 21:56:01 1.160.6.84.6.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.160.6.84.2.1 2017/06/22 02:11:25 raeburn Exp $ +# $Id: domainprefs.pm,v 1.160.6.84.6.1 2020/04/06 21:56:01 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -27,7 +27,7 @@ # # ############################################################### -############################################################### +############################################################## =pod @@ -6208,7 +6208,7 @@ sub print_scantronformat { if (ref($settings) eq 'HASH') { if ($settings->{'scantronformat'} eq "/res/$dom/$confname/scantron/custom.tab") { my @info = &Apache::lonnet::stat_file($settings->{'scantronformat'}); - if (0 && ((!@info) || ($info[0] eq 'no_such_dir'))) { + if ((!@info) || ($info[0] eq 'no_such_dir')) { $scantronurl = ''; } else { $scantronurl = $settings->{'scantronformat'}; @@ -9207,7 +9207,7 @@ sub modify_ltitools { } if ($env{'form.ltitools_add_image.filename'} ne '') { my ($imageurl,$error) = - &process_ltitools_image($r,$dom,$confname,'ltitools_add_image',$dom, + &process_ltitools_image($r,$dom,$confname,'ltitools_add_image',$newid, $configuserok,$switchserver,$author_ok); if ($imageurl) { $confhash{$newid}{'image'} = $imageurl;