diff --git a/lib/HTMLUtils.php b/lib/HTMLUtils.php index 03763afc..bf150fbb 100644 --- a/lib/HTMLUtils.php +++ b/lib/HTMLUtils.php @@ -104,10 +104,21 @@ CARD; else $card .= ''; }else{ + if(is_array($value)){ + $card.=''; + foreach($value as $subname=>$subvalue){ + if($inputEntry['defaultValue'] === $subname || $inputEntry['defaultValue'] === $subvalue) + $card .= ''; + else + $card .= ''; + } + $card.=''; + }else{ if($inputEntry['defaultValue'] === $name || $inputEntry['defaultValue'] === $value) $card .= ''; else $card .= ''; + } } }