diff --git a/include/simpleplugin/class_Attribute.inc b/include/simpleplugin/class_Attribute.inc
index d4a30e50634eb7cf1e0579815d4764c1afef2910..83f063dac1d628122676c6f2650b071a812ec74d 100644
--- a/include/simpleplugin/class_Attribute.inc
+++ b/include/simpleplugin/class_Attribute.inc
@@ -633,14 +633,14 @@ class Attribute
 
   /*! \brief Apply value from RPC requests
    *
-   *  \param array $values the values array
+   *  \param mixed $value the value
    */
   function deserializeValue($value)
   {
     if ($this->disabled) {
       return sprintf(_('Attribute %s is disabled, its value could not be set'), $this->getLdapName());
     }
-    $this->setValue($values[$this->getLdapName()]);
+    $this->setValue($value);
   }
 
   /*! \brief Add ACL information around display