Tags:
archive_me1Add my vote for this tag create new tag
view all tags
New code in TWikiPrefs.pm includes:

sub prvGetPrefsList
{
	 my ( $theWebTopic ) = @_;

	 my $topicName = $theWebTopic;
	 my $webName = $TWiki::mainWebname;
	 $topicName =~ s/([^\.]*)\.(.*)/$2/go;	 # "Web.TopicName" to "TopicName"
	 if( $2 ) {
		  $webName = $1;
	 }

The presence of the g in s/// means that $2 is not available for the if statement. Solution for me was simply to remove the g, which appears at best redundant in this case.

-- JohnTalintyre - 23 Feb 2001

Thanks for pointing out. Fix commited to TWikiAlphaRelease.

-- PeterThoeny - 24 Feb 2001

TopicClassification:
BugResolved
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2001-02-25 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.