diff --git a/public_html/includes/class/class.LSattribute.php b/public_html/includes/class/class.LSattribute.php
index 273bbceb..242c2bb1 100644
--- a/public_html/includes/class/class.LSattribute.php
+++ b/public_html/includes/class/class.LSattribute.php
@@ -140,12 +140,11 @@ class LSattribute {
* @retval mixed La valeur de l'attribut
*/
function getValue() {
- $updateData=$this -> getUpdateData();
- if (empty($updateData)) {
- return $this -> data;
- }
+ if ($this -> isUpdate()) {
+ return $this -> getUpdateData();
+ {
else {
- return $updateData;
+ return $this -> getOldValue();
}
}