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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 18 May 2006 20:29:00 -0000


albertel		Thu May 18 16:29:00 2006 EDT

  Modified files:              
    /loncom/interface	portfolio.pm 
  Log:
  - create the droups dir if it doesn't exist
  
  
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.99 loncom/interface/portfolio.pm:1.100
--- loncom/interface/portfolio.pm:1.99	Wed May 17 21:08:52 2006
+++ loncom/interface/portfolio.pm	Thu May 18 16:29:00 2006
@@ -732,7 +732,8 @@
             #    1) never been here, so directory structure not created
 	    #    2) back-button navigation after deleting a directory
 	    if ($current_path eq '/'){
-	        &Apache::lonnet::mkdiruserfile($uname,$udom,'portfolio');
+	        &Apache::lonnet::mkdiruserfile($uname,$udom,
+					       &get_port_path($group));
 	    } else {
                 # some directory that snuck in get rid of the directory
                 # from the recent pulldown, just in case