Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
5645d8ac
Commit
5645d8ac
authored
Oct 27, 2008
by
Adrian Rossouw
Committed by
adrian
Oct 27, 2008
Browse files
Fix for importing languages
parent
1fd11bf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
platform/provision_drupal.module
View file @
5645d8ac
...
...
@@ -496,7 +496,7 @@ function _provision_find_profiles() {
$languages
[
$langcode
[
2
]]
=
1
;
// use the language name as an index to weed out duplicates
}
}
$profile
->
info
[
'languages'
]
=
array_
flip
(
$languages
);
$profile
->
info
[
'languages'
]
=
array_
keys
(
$languages
);
$return
[
$key
]
=
$profile
;
}
...
...
Write
Preview
Markdown
is supported
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