1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

Fixed small UI bug

This commit is contained in:
Eldad Fux 2020-06-10 17:11:59 +03:00
parent 6b24432bc9
commit 4e73b3e9fd

View file

@ -20,7 +20,7 @@ $collections = [];
$key = (isset($rule['key'])) ? $rule['key'] : '';
$label = (isset($rule['label'])) ? $rule['label'] : '';
$type = (isset($rule['type'])) ? $rule['type'] : '';
$list = (isset($rule['list'])) ? $rule['list'] : [];
$list = (isset($rule['list']) && !empty($list)) ? $rule['list'] : [];
?>
<?php foreach($list as $item):
if($item === $collection->getId()) {
@ -51,7 +51,7 @@ $collections = [];
$key = (isset($rule['key'])) ? $rule['key'] : '';
$label = (isset($rule['label'])) ? $rule['label'] : '';
$type = (isset($rule['type'])) ? $rule['type'] : '';
$list = (isset($rule['list'])) ? $rule['list'] : false;
$list = (isset($rule['list'])) ? $rule['list'] : [];
$array = (isset($rule['array'])) ? $rule['array'] : false;
?>