From b51b4713aefabec2f1b435aa153e8e7a0009be2d Mon Sep 17 00:00:00 2001
From: Uwe Steinmann <steinm@debian.org>
Date: Wed, 15 Apr 2015 14:13:01 +0200
Subject: [PATCH] second parameter of printAttributeEditField() is attribute
 and not its value anymore

---
 views/bootstrap/class.EditAttributes.php | 2 +-
 views/bootstrap/class.EditDocument.php   | 2 +-
 views/bootstrap/class.EditFolder.php     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/views/bootstrap/class.EditAttributes.php b/views/bootstrap/class.EditAttributes.php
index 1e06f8485..e7c4c9258 100644
--- a/views/bootstrap/class.EditAttributes.php
+++ b/views/bootstrap/class.EditAttributes.php
@@ -58,7 +58,7 @@ class SeedDMS_View_EditAttributes extends SeedDMS_Bootstrap_Style {
 ?>
 <tr>
 	<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>
 <?php
 				}
diff --git a/views/bootstrap/class.EditDocument.php b/views/bootstrap/class.EditDocument.php
index caaed5d14..d6acecd53 100644
--- a/views/bootstrap/class.EditDocument.php
+++ b/views/bootstrap/class.EditDocument.php
@@ -146,7 +146,7 @@ function checkForm()
 ?>
 		<tr>
 			<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>
 <?php
 			}
diff --git a/views/bootstrap/class.EditFolder.php b/views/bootstrap/class.EditFolder.php
index 1528cb1d8..8d5d6a865 100644
--- a/views/bootstrap/class.EditFolder.php
+++ b/views/bootstrap/class.EditFolder.php
@@ -101,7 +101,7 @@ function checkForm() {
 ?>
 <tr>
 	<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>
 <?php
 			}