Commit ba176886 authored by Rob Smits's avatar Rob Smits
Browse files

Changing how the lang check is done in helpnav.php.

parent 933287db
<?php $lang = isset($_REQUEST['lang']) ? htmlspecialchars($_REQUEST['lang']) : "en";?>
$lang = ((isset($_REQUEST['lang']) && preg_match('/^[a-z][a-z]$/', $_REQUEST['lang']) > 0) ? $_REQUEST['lang'] : 'en');
<div class="helpnav">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment