Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
4f4991e8
Commit
4f4991e8
authored
Apr 18, 2018
by
Côme Chilliet
Browse files
🚑
fix(simpleplugin) Fix PHP error in deserializeValue
issue #5811
parent
fbc8fa12
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/simpleplugin/class_Attribute.inc
View file @
4f4991e8
...
...
@@ -633,14 +633,14 @@ class Attribute
/*! \brief Apply value from RPC requests
*
* \param
array
$value
s
the value
s 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
(
$value
s
[
$this
->
getLdapName
()]
);
$this
->
setValue
(
$value
);
}
/*! \brief Add ACL information around display
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment