Commit b02912ee authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '5811-uid-can-be-changed-from-the-api' into '1.3-dev'

Resolve "UID can be changed from the API"

See merge request fusiondirectory/fd!238
parents fbc8fa12 4f4991e8
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment