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

🚑 fix(simpleplugin) Fix PHP error in deserializeValue

issue #5811
parent fbc8fa12
......@@ -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