|
|||||||||||||||
--- lib/TWiki/Func.pm 2005-06-21 11:03:57.000000000 -0500
+++ lib/TWiki/Func.pm 2005-06-21 11:10:31.000000000 -0500
@@ -407,8 +407,9 @@
sub getPluginPreferencesFlag
{
my( $theKey ) = @_;
- my $value = getPluginPreferencesValue( $theKey );
- return TWiki::Prefs::formatAsFlag($value);
+ my $package = caller;
+ $package =~ s/.*:://; # strip off TWiki::Plugins:: prefix
+ return TWiki::Prefs::getPreferencesFlag( "\U$package\E_$theKey" );
}
# =========================
-- CharlesDupont - 21 Jun 2005
| ChangeProposalForm | |
|---|---|
| TopicClassification | BugReport |
| TopicSummary | Call to TWiki::Func::getPluginPreferencesFlag returns wrong value |
| CurrentState | MergedToCore |
| OutstandingIssues | |
| RelatedTopics | |
| InterestedParties | |
| ProposedFor | |
| TWikiContributors | |