Skip to content

Commit

Permalink
Item13560: don't allow undefok on Module settings, it borks the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Crawford Currie committed Aug 24, 2015
1 parent e597e35 commit 242a57c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/lib/Foswiki/Configure/Pluggables/PLUGINS.pm
Expand Up @@ -80,7 +80,9 @@ sub construct {
CHECKER => 'PLUGIN_MODULE',
LABEL => "$plugin Module",
keys => "{Plugins}{$plugin}{Module}",
opts => 'CHECK="undefok"', # Undef when extension is removed.

# Note: as tempting as it may seem, DO NOT set
# undefok. Otherwise hints will be invisible.
default => "$modules{$plugin}",
EXPERT => 1
)
Expand Down

0 comments on commit 242a57c

Please sign in to comment.