--- loncom/interface/loncoursegroups.pm 2006/12/04 14:59:56 1.67 +++ loncom/interface/loncoursegroups.pm 2006/12/04 21:44:02 1.68 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: loncoursegroups.pm,v 1.67 2006/12/04 14:59:56 raeburn Exp $ +# $Id: loncoursegroups.pm,v 1.68 2006/12/04 21:44:02 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3139,7 +3139,7 @@ sub write_group_data { $description,$tools,\%groupinfo, $gpterm,$ucgpterm,$crstype); if ($result ne 'ok') { - $r->print(&mt('A problem occurred when creating folders for the new [_1].
[_2]
',$gpterm,$result)); + $r->print(&mt('A problem occurred when creating folders for the new [_1].
[_2]
',$gpterm,$result)); } $r->print(&mt('[_1] [_2] was created.
',$ucgpterm,$groupname)); } elsif ($action eq 'modify') { @@ -3767,7 +3767,7 @@ sub get_folder_lock { while (($gotlock ne 'ok') && $tries <3) { $tries ++; - sleep 1; + sleep(1); $gotlock = &Apache::lonnet::newput('coursegroups',$lockhash,$cdom,$cnum); } return $gotlock;