use parent::printAttribute()

This commit is contained in:
Uwe Steinmann 2020-03-19 09:48:19 +01:00
parent 9c3b34b41e
commit cce4be822c

View File

@ -283,13 +283,7 @@ $('body').on('click', '.order-btn', function(ev) {
} elseif(is_string($arr)) { } elseif(is_string($arr)) {
echo $arr; echo $arr;
} else { } else {
$attrdef = $attribute->getAttributeDefinition(); $this->printAttribute($attribute);
?>
<tr>
<td><?php echo htmlspecialchars($attrdef->getName()); ?>:</td>
<td><?php echo htmlspecialchars(implode(', ', $attribute->getValueAsArray())); ?></td>
</tr>
<?php
} }
} }
} }