Skip to content

Commit

Permalink
Merge branch 'release/0.9.45'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Oct 8, 2015
2 parents eb999c3 + 143653e commit 08790aa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v0.9.45
## 10/08/2015

1. [](#bugfix)
* Fixed a regression issue resulting in incorrect default language

# v0.9.44
## 10/07/2015

Expand Down
2 changes: 1 addition & 1 deletion system/defines.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// Some standard defines
define('GRAV', true);
define('GRAV_VERSION', '0.9.44');
define('GRAV_VERSION', '0.9.45');
define('DS', '/');

// Directories and Paths
Expand Down
5 changes: 3 additions & 2 deletions system/src/Grav/Common/Language/Language.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ public function setLanguages($langs)
*/
public function getAvailable()
{
sort($this->languages);
return implode('|', array_reverse($this->languages));
$languagesArray = $this->languages; //Make local copy
sort($languagesArray);
return implode('|', array_reverse($languagesArray));
}

/**
Expand Down

0 comments on commit 08790aa

Please sign in to comment.