--- loncom/publisher/loncoursepub.pm 2016/07/01 19:59:56 1.1 +++ loncom/publisher/loncoursepub.pm 2018/04/24 11:18:09 1.2 @@ -2,7 +2,7 @@ # Handler to store uploaded files etc. in Course's Authoring # Space, # -# $Id: loncoursepub.pm,v 1.1 2016/07/01 19:59:56 raeburn Exp $ +# $Id: loncoursepub.pm,v 1.2 2018/04/24 11:18:09 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -65,7 +65,7 @@ sub handler { } if ($newfilename ne '') { my $path = $londocroot.$toppath; - my $redirect = &Apache::londocs::finishnewprob($toppath,$path,$relpath,$newsubdir,$newfilename); + my $redirect = &Apache::londocs::finishnewprob($toppath,$path,$relpath,$newsubdir,$newfilename,'upload'); if ($redirect) { my $url = $redirect; my $srcfile = $londocroot.$url;