Fix a rendering problem if a zero length show happens
This commit is contained in:
parent
346036a9ca
commit
6a468ff549
1 changed files with 5 additions and 1 deletions
|
@ -1011,7 +1011,11 @@ SQL;
|
||||||
$options["show_empty"] = (array_key_exists($show['instance_id'],
|
$options["show_empty"] = (array_key_exists($show['instance_id'],
|
||||||
$content_count)) ? 0 : 1;
|
$content_count)) ? 0 : 1;
|
||||||
|
|
||||||
|
if (array_key_exists($show['instance_id'], $isFull)) {
|
||||||
$options["show_partial_filled"] = !$isFull[$show['instance_id']];
|
$options["show_partial_filled"] = !$isFull[$show['instance_id']];
|
||||||
|
} else {
|
||||||
|
$options["show_partial_filled"] = true;
|
||||||
|
}
|
||||||
|
|
||||||
$event = array();
|
$event = array();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue