| TWiki version: | TWikiRelease02Sep2004 |
| TWiki plugins: | DefaultPlugin, AlbumOfSnapsPlugin, CommentPlugin, DatabasePlugin, DirectedGraphPlugin, EFetchPlugin, EditTablePlugin, EmbedBibPlugin, InterwikiPlugin, MathModePlugin, RenderListPlugin, SessionPlugin, SlideShowPlugin, SmiliesPlugin, SpreadSheetPlugin, TablePlugin |
| Server OS: | Debian Linux, kernel 2.6.6 |
| Web server: | Apache 2.0.54 |
| Perl version: | 5.8.4 |
| Client OS: | |
| Web Browser: | Mozillia |
--- 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 | |
| HasPriority | 100 |