mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Language File Editor no longer saves definitions with empty values.
This commit is contained in:
@@ -1131,6 +1131,11 @@ class lancheck
|
||||
$defvar = $_POST['newdef'][$i];
|
||||
}
|
||||
|
||||
if(empty($deflang))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if($_POST['newdef'][$i] == "LC_ALL" && vartrue($_SESSION['lancheck-edit-file']))
|
||||
{
|
||||
$message .= $notdef_start.'setlocale('.htmlentities($defvar).','.$deflang.');<br />'.$notdef_end;
|
||||
|
Reference in New Issue
Block a user