--- loncom/interface/lonsearchcat.pm 2010/08/13 13:32:36 1.325
+++ loncom/interface/lonsearchcat.pm 2010/08/25 12:38:45 1.326
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Search Catalog
#
-# $Id: lonsearchcat.pm,v 1.325 2010/08/13 13:32:36 wenzelju Exp $
+# $Id: lonsearchcat.pm,v 1.326 2010/08/25 12:38:45 wenzelju Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3369,6 +3369,10 @@ SCRIPT
# 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 $start_page_wishlistlink =
&Apache::loncommon::start_page('Set link to wishlist',undef,
{'only_body' => 1,
@@ -3394,7 +3398,7 @@ SCRIPT
'