Fix reading status prop for cutom pools
This commit is contained in:
parent
a317932158
commit
05acd70658
|
@ -54,7 +54,7 @@ _EOF
|
|||
}
|
||||
$OUT .= "# Custom PHP pools\n";
|
||||
foreach my $pool ($p->get_all_by_prop(type => 'pool')){
|
||||
next if ($pool->prop('status' || 'enabled') ne 'enabled');
|
||||
next if (($pool->prop('status') || 'enabled') ne 'enabled');
|
||||
my $key = $pool->key;
|
||||
my $ver = $pool->prop('Version') || '';
|
||||
$OUT .=<<_EOF;
|
||||
|
|
Loading…
Reference in New Issue