Fix template engine rending attributes with multiselect configured

This commit is contained in:
Deon George
2010-02-24 22:20:26 +11:00
parent ac1d121b0d
commit a1c714bdb8
4 changed files with 12 additions and 1 deletions

View File

@@ -2042,6 +2042,9 @@ function fillRec(id,value) {
protected function drawValueAttribute($attribute,$i) {
if (DEBUGTMP) printf('<font size=-2>%s</font><br />',__METHOD__);
if ($attribute->isMultiple() && $i > 0)
return;
$val = $attribute->getValue($i);
if ($attribute->isVisible()) {