* Finish task#57156

This commit is contained in:
zenggang
2022-06-14 06:03:55 +00:00
parent 4d960b1ff3
commit cc49cbe439
4 changed files with 6 additions and 0 deletions
+2
View File
@@ -119,6 +119,8 @@ class router extends baseRouter
if(isset($nullKey))$lang->{$moduleName}->{$section}[$nullKey] = $nullValue;
foreach($fields as $key => $value)
{
if($section == 'priList' and $key > 0 and $value === '') continue; // Fix bug #23538.
if(!isset($lang->{$moduleName})) $lang->{$moduleName} = new stdclass();
if(!isset($lang->{$moduleName}->{$section})) $lang->{$moduleName}->{$section} = array();
$lang->{$moduleName}->{$section}[$key] = $value;