Skip to content

Commit

Permalink
Merge pull request #74 from phproberto/j300a2
Browse files Browse the repository at this point in the history
[FIX] null language
  • Loading branch information
mbabker committed Aug 5, 2012
2 parents 92e0680 + 1869de4 commit 895bc19
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 895bc19

Please sign in to comment.