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

Topic revision: r2 - 2001-02-25 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.