Commit 5645d8ac authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian

Fix for importing languages

parent 1fd11bf2
......@@ -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;
}
......
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