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:
parent
b7fe1322bc
commit
ef239dbc0e
@ -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']))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user