Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
strongarm
Commits
a0771b29
Commit
a0771b29
authored
Dec 15, 2011
by
Frank Febbraro
Browse files
Issue #1311704 by AntoineSolutions: Explicitly set order of variables returned by the database.
parent
1914cff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
strongarm.module
View file @
a0771b29
...
...
@@ -175,6 +175,7 @@ function variable_features_export_render($module, $data) {
$result
=
db_select
(
'variable'
,
'v'
)
->
fields
(
'v'
,
array
(
'name'
,
'value'
))
->
condition
(
'name'
,
$data
,
'IN'
)
->
orderBy
(
'name'
)
->
execute
();
foreach
(
$result
as
$object
)
{
$object
=
_ctools_export_unpack_object
(
$schema
,
$object
);
...
...
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