--- loncom/interface/londocs.pm 2004/05/06 20:34:06 1.125 +++ loncom/interface/londocs.pm 2004/05/11 06:12:45 1.126 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.125 2004/05/06 20:34:06 www Exp $ +# $Id: londocs.pm,v 1.126 2004/05/11 06:12:45 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -371,7 +371,7 @@ sub editor { if ( ($folder=~/^$1/) || ($1 eq 'default') ) { # this is for a course, not a user, so set coursedoc flag # probably the only place in the system where this should be "1" - my $url=&Apache::lonnet::userfileupload('uploaddoc',1); + my $url=&Apache::lonnet::userfileupload('uploaddoc',1,'docs'); my $ext='false'; if ($url=~/^http\:\/\//) { $ext='true'; } $url=~s/\:/\:/g;