Index: lib/TWiki.pm =================================================================== RCS file: /e/www/CVS/twiki-cairo/lib/TWiki.pm,v retrieving revision 1.3 diff -c -r1.3 TWiki.pm *** lib/TWiki.pm 30 Jan 2005 03:13:43 -0000 1.3 --- lib/TWiki.pm 7 Feb 2005 05:30:43 -0000 *************** *** 2555,2561 **** foreach $item ( @list ) { $hidden = &TWiki::Prefs::getPreferencesValue( "NOSEARCHALL", $item ); # exclude topics that are hidden or start with . or _ unless current web ! if( ( $item eq $TWiki::webName ) || ( ( ! $hidden ) && ( $item =~ /^[^\.\_]/ ) ) ) { push( @publicWebList, $item ); } } --- 2555,2561 ---- foreach $item ( @list ) { $hidden = &TWiki::Prefs::getPreferencesValue( "NOSEARCHALL", $item ); # exclude topics that are hidden or start with . or _ unless current web ! if( ( $item eq $TWiki::webName ) || ( ( ! $hidden ) && ( $item =~ /^[^\.\_]/ ) && TWiki::Store::topicExists( $item, $mainTopicname ) ) ) { push( @publicWebList, $item ); } }