--- loncom/interface/londocs.pm 2019/08/16 18:27:50 1.484.2.83 +++ loncom/interface/londocs.pm 2020/01/16 18:14:29 1.484.2.85 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.484.2.83 2019/08/16 18:27:50 raeburn Exp $ +# $Id: londocs.pm,v 1.484.2.85 2020/01/16 18:14:29 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2122,7 +2122,7 @@ sub copy_templated_files { if (grep(/^\Q$qtype\E$/,@simpleprobqtypes)) { my %newdata = ( $newprefix.'questiontype' => $qtype, - ) + ); foreach my $type (@simpleprobqtypes) { if ($type eq $qtype) { $newdata{"$weightprefix.$type.weight"}=1; @@ -5936,7 +5936,7 @@ unless ($container eq 'page') { unless (($supplementalflag || $toolsflag)) { my $error = &editor($r,$coursenum,$coursedom,$folder,$allowed,'',$crstype, $supplementalflag,\%orderhash,$iconpath,$pathitem, - $canedit,\$navmap,$hiddentop); + $canedit,$hostname,\$navmap,$hiddentop); undef($navmap); if ($error) { $r->print('

'.$error.'

'); @@ -6074,7 +6074,7 @@ my %suporderhash = ( if ($supplementalflag) { my $error = &editor($r,$coursenum,$coursedom,$folder,$allowed,'',$crstype, $supplementalflag,\%suporderhash,$iconpath,$pathitem, - $canedit); + $canedit,$hostname); if ($error) { $r->print('

'.$error.'

'); } else { @@ -6094,7 +6094,7 @@ my %suporderhash = ( } } elsif ($supplementalflag) { my $error = &editor($r,$coursenum,$coursedom,$folder,$allowed,'',$crstype, - $supplementalflag,'',$iconpath,$pathitem); + $supplementalflag,'',$iconpath,$pathitem,'',$hostname); if ($error) { $r->print('

'.$error.'

'); }