second parameter of printAttributeEditField() is attribute and not its

value anymore
This commit is contained in:
Uwe Steinmann 2015-04-15 14:13:01 +02:00
parent 7d7a21fc9e
commit b51b4713ae
3 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ class SeedDMS_View_EditAttributes extends SeedDMS_Bootstrap_Style {
?> ?>
<tr> <tr>
<td><?php echo htmlspecialchars($attrdef->getName()); ?></td> <td><?php echo htmlspecialchars($attrdef->getName()); ?></td>
<td><?php $this->printAttributeEditField($attrdef, $version->getAttributeValue($attrdef)) ?></td> <td><?php $this->printAttributeEditField($attrdef, $version->getAttribute($attrdef)) ?></td>
</tr> </tr>
<?php <?php
} }

View File

@ -146,7 +146,7 @@ function checkForm()
?> ?>
<tr> <tr>
<td><?php echo htmlspecialchars($attrdef->getName()); ?>:</td> <td><?php echo htmlspecialchars($attrdef->getName()); ?>:</td>
<td><?php $this->printAttributeEditField($attrdef, $document->getAttributeValue($attrdef)) ?></td> <td><?php $this->printAttributeEditField($attrdef, $document->getAttribute($attrdef)) ?></td>
</tr> </tr>
<?php <?php
} }

View File

@ -101,7 +101,7 @@ function checkForm() {
?> ?>
<tr> <tr>
<td><?php echo htmlspecialchars($attrdef->getName()); ?></td> <td><?php echo htmlspecialchars($attrdef->getName()); ?></td>
<td><?php $this->printAttributeEditField($attrdef, $folder->getAttributeValue($attrdef)) ?></td> <td><?php $this->printAttributeEditField($attrdef, $folder->getAttribute($attrdef)) ?></td>
</tr> </tr>
<?php <?php
} }