1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-13 17:12:07 +02:00

Language File Editor no longer saves definitions with empty values.

This commit is contained in:
Cameron 2017-10-14 14:55:30 -07:00
parent b7fe1322bc
commit ef239dbc0e

View File

@ -1049,7 +1049,7 @@ class lancheck
function write_lanfile($lan='')
{
if(!$lan){ return; }
global $ns;
unset($input);
@ -1130,6 +1130,11 @@ class lancheck
{
$defvar = $_POST['newdef'][$i];
}
if(empty($deflang))
{
continue;
}
if($_POST['newdef'][$i] == "LC_ALL" && vartrue($_SESSION['lancheck-edit-file']))
{