--- loncom/publisher/lonupload.pm 2011/11/14 00:20:31 1.59 +++ loncom/publisher/lonupload.pm 2012/04/16 19:32:04 1.60 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to upload files into construction space # -# $Id: lonupload.pm,v 1.59 2011/11/14 00:20:31 raeburn Exp $ +# $Id: lonupload.pm,v 1.60 2012/04/16 19:32:04 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -446,8 +446,9 @@ sub phasefour { my $dir_root = $r->dir_config('lonDocRoot').$url_root; my $path = &File::Basename::dirname($fn); $path =~ s{^\Q$url_root\E}{}; - $result .= &Apache::loncommon::modify_html_refs($mode,$path, - $uname,$udom,$dir_root); + my $outcome = + &Apache::loncommon::modify_html_refs($mode,$path,$uname,$udom,$dir_root); + $result .= $outcome; if ($mode ne 'imsimport' && $mode ne 'testbank') { $result .= '

'. &mt('View main file').'

'.