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
c6cfecd4
Commit
c6cfecd4
authored
Feb 07, 2017
by
Côme Chilliet
Browse files
Fixes #5368 Added missing attrs_order information to template serialization
parent
f2ae08dc
Changes
1
Show whitespace changes
Inline
Side-by-side
include/class_template.inc
View file @
c6cfecd4
...
@@ -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
;
...
...
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