[LON-CAPA-cvs] cvs: loncom /interface londocs.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 11 May 2004 06:12:45 -0000


albertel		Tue May 11 02:12:45 2004 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  - last of uploaduserfiles calls without a dir
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.125 loncom/interface/londocs.pm:1.126
--- loncom/interface/londocs.pm:1.125	Thu May  6 16:34:06 2004
+++ loncom/interface/londocs.pm	Tue May 11 02:12:45 2004
@@ -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 @@
 	    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;