Skip to content

Commit

Permalink
[FIX] null language
Browse files Browse the repository at this point in the history
  • Loading branch information
phproberto committed Aug 5, 2012
1 parent e1e1a3d commit 1869de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installation/template/js/installation.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var Installation = new Class({
Joomla.renderMessages(r.messages);
}
var lang = $$('html').getProperty('lang')[0];
if (lang.toLowerCase() === r.lang.toLowerCase()) {
if (r.lang !== null && lang.toLowerCase() === r.lang.toLowerCase()) {
Install.goToPage(r.data.view, true);
} else {
window.location = this.baseUrl+'?view='+r.data.view;
Expand Down

0 comments on commit 1869de4

Please sign in to comment.