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

Fixes #5520 fixed managing support for composite attributes by updating...

Fixes #5520 fixed managing support for composite attributes by updating disabled values in post apply
parent 67ffa5d4
......@@ -144,6 +144,7 @@ class CompositeAttribute extends Attribute
function loadPostValue ()
{
foreach ($this->attributes as &$attribute) {
$attribute->setDisabled($this->disabled);
$attribute->loadPostValue();
}
unset($attribute);
......@@ -152,6 +153,7 @@ class CompositeAttribute extends Attribute
function applyPostValue ()
{
foreach ($this->attributes as &$attribute) {
$attribute->setDisabled($this->disabled);
$attribute->applyPostValue();
}
unset($attribute);
......
Markdown is supported
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