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

raeburn raeburn@source.lon-capa.org
Tue, 16 Dec 2008 16:44:28 -0000


raeburn		Tue Dec 16 16:44:28 2008 EDT

  Modified files:              
    /loncom/interface	loncoursegroups.pm 
  Log:
  - Append warning about failed release of lock.
  - Unbalanced HTML
  
  
Index: loncom/interface/loncoursegroups.pm
diff -u loncom/interface/loncoursegroups.pm:1.83 loncom/interface/loncoursegroups.pm:1.84
--- loncom/interface/loncoursegroups.pm:1.83	Thu Dec 11 14:55:15 2008
+++ loncom/interface/loncoursegroups.pm	Tue Dec 16 16:44:28 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursegroups.pm,v 1.83 2008/12/11 14:55:15 bisitz Exp $
+# $Id: loncoursegroups.pm,v 1.84 2008/12/16 16:44:28 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3786,7 +3786,7 @@
                     if ($delresult ne 'ok') {
                         $warning = $delresult;
                     }
-                    return $outcome;
+                    return $outcome.$warning;
                 }
             }
             my $delresult = &release_folder_lock($cdom,$cnum,'group_allfolders');
@@ -3796,7 +3796,7 @@
         } else {
             $outcome = '<span class="LC_error">'
                       .&mt('Could not obtain exclusive lock to check status of the folder for all groups. No group folder added.')
-                      .'</div>';
+                      .'</span>';
             return $outcome;
         }
         my $grpfolder = &mt($ucgpterm.' Folder - [_1]',$description);