Skip to content

Commit

Permalink
Item14139: Incorrect parenthesis ordering in test
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Aug 12, 2016
1 parent 45c4131 commit 306b8bc
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions core/lib/Foswiki/Plugins.pm
Expand Up @@ -145,13 +145,9 @@ sub preload {
unless ( $cfgData->{DisableAllPlugins} ) {

# debugenableplugins only supported in DEBUG and unit test modes
if (
$query
&& defined(
$query->param('debugenableplugins')
&& ( DEBUG || $query->isa('Unit::Request') )
)
)
if ( $query
&& defined $query->param('debugenableplugins')
&& ( DEBUG || $query->isa('Unit::Request') ) )
{
foreach
my $pn ( split( /[,\s]+/, $query->param('debugenableplugins') ) )
Expand Down

0 comments on commit 306b8bc

Please sign in to comment.