mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-12 01:54:57 +00:00
use parent::printAttribute()
This commit is contained in:
parent
9c3b34b41e
commit
cce4be822c
|
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user