--- loncom/publisher/lonupload.pm 2011/11/14 00:20:31 1.59
+++ loncom/publisher/lonupload.pm 2013/06/04 22:20:16 1.62
@@ -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.62 2013/06/04 22:20:16 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -125,7 +125,6 @@ use Apache::File;
use File::Copy;
use File::Basename;
use Apache::Constants qw(:common :http :methods);
-use Apache::loncacc;
use Apache::loncommon();
use Apache::lonnet;
use HTML::Entities();
@@ -446,8 +445,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 .= '