--- loncom/interface/lonmenu.pm 2009/07/09 08:53:39 1.272 +++ loncom/interface/lonmenu.pm 2009/07/09 19:28:36 1.273 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.272 2009/07/09 08:53:39 droeschl Exp $ +# $Id: lonmenu.pm,v 1.273 2009/07/09 19:28:36 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1687,8 +1687,9 @@ sub jump_to_role { ' numsec['.$i.'] = "'.$seccount->{$items[$i]}.'";'."\n"; } } - my $output = <<"END"; + return <<"END"; END - return $output; }