--- loncom/interface/lonmenu.pm 2010/08/24 09:11:38 1.337 +++ loncom/interface/lonmenu.pm 2010/08/25 12:38:45 1.338 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.337 2010/08/24 09:11:38 wenzelju Exp $ +# $Id: lonmenu.pm,v 1.338 2010/08/25 12:38:45 wenzelju Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1123,6 +1123,10 @@ sub utilityfunctions { # it is split into 3 parts and the inputfields for title and path are left out # these fields are inserted later to set the values for title and path # automatically via JavaScript (document.title and location.pathname) + my %folders = &Apache::lonnet::get('wishlist',['folders']); + if ($folders{'folders'} eq '') { + $folders{'folders'} = ''; + } my $in_page_wishlistlink1 = '

'.&mt('Set a link to wishlist').'

'. '
'. @@ -1140,7 +1144,7 @@ sub utilityfunctions { '

'. ''. ''. ''. '
';