From: <de...@de...> - 2007-01-26 07:44:46
|
Author: KennethLavrsen Date: 2007-01-26 01:44:41 -0600 (Fri, 26 Jan 2007) New Revision: 12621 Modified: twiki/branches/Patch04x01/lib/TWiki/Search.pm Log: Item3507: $web was not expanded in search header The regex was run on a variable not yet set Modified: twiki/branches/Patch04x01/lib/TWiki/Search.pm =================================================================== --- twiki/branches/Patch04x01/lib/TWiki/Search.pm 2007-01-26 07:42:56 UTC (rev 12620) +++ twiki/branches/Patch04x01/lib/TWiki/Search.pm 2007-01-26 07:44:41 UTC (rev 12621) @@ -689,8 +689,8 @@ my( $beforeText, $repeatText, $afterText ) = split( /%REPEAT%/, $tmplTable ); if( defined $header ) { + $beforeText = TWiki::expandStandardEscapes($header); $beforeText =~ s/\$web/$web/gos; # expand name of web - $beforeText = TWiki::expandStandardEscapes($header); if( defined( $separator )) { $beforeText .= $separator; } else { |