Fix code style
This commit is contained in:
parent
70a6c6ed01
commit
0837ad647a
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ class Feature
|
|||
$eventDispatcher = DI::eventDispatcher();
|
||||
|
||||
if (!$config->get('feature_lock', $feature, false)) {
|
||||
$enabled = $config->get('feature', $feature) ?? self::getDefault($feature);
|
||||
$enabled = $config->get('feature', $feature) ?? self::getDefault($feature);
|
||||
$enabled = $pConfig->get($uid, 'feature', $feature) ?? $enabled;
|
||||
} else {
|
||||
$enabled = true;
|
||||
|
@ -155,7 +155,7 @@ class Feature
|
|||
foreach ($arr as $k => $x) {
|
||||
$has_items = false;
|
||||
$kquantity = count($arr[$k]);
|
||||
for ($y = 0; $y < $kquantity; $y ++) {
|
||||
for ($y = 0; $y < $kquantity; $y++) {
|
||||
if (is_array($arr[$k][$y])) {
|
||||
if ($arr[$k][$y][4] === false) {
|
||||
$has_items = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue