Skip to content
Permalink
Browse files Browse the repository at this point in the history
Conflicts:
	index.php
  • Loading branch information
samwilson committed Jul 11, 2015
2 parents 6cc12cb + 6fc32c8 commit 764f4e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
@@ -1,7 +1,7 @@
<?php
require 'config.php';

$lang = (isset($_GET['lang'])) ? $_GET['lang'] : 'en';
$lang = (isset($_GET['lang'])) ? htmlspecialchars($_GET['lang']) : 'en';
if ( !array_key_exists($lang, $dbs)) {
$err = "The language '$lang' has not yet been included. Please lodge an issue.";
}
Expand Down

0 comments on commit 764f4e8

Please sign in to comment.