Skip to content

Commit

Permalink
Update helper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuan Pham Ngoc committed Oct 16, 2014
1 parent 8ab8606 commit ff57965
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions administrator/modules/mod_login/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ public static function getLanguageList()
{
return '';
}

// Make sure the languages are sorted based on locale code instead of random sorting
ksort($languages);

array_unshift($languages, JHtml::_('select.option', '', JText::_('JDEFAULTLANGUAGE')));

Expand Down

0 comments on commit ff57965

Please sign in to comment.