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

Fixes #5368 Added missing attrs_order information to template serialization

parent f2ae08dc
...@@ -129,6 +129,7 @@ class template ...@@ -129,6 +129,7 @@ class template
foreach ($this->attributes[$class] as $attr) { foreach ($this->attributes[$class] as $attr) {
$plugin->attributesAccess[$attr]->serializeAttribute($attributes[$class]['attrs'], FALSE); $plugin->attributesAccess[$attr]->serializeAttribute($attributes[$class]['attrs'], FALSE);
} }
$attributes[$class]['attrs_order'] = array_keys($attributes[$class]['attrs']);
} }
return $attributes; return $attributes;
......
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