* Fixed Save labels clearing other labels.
This commit is contained in:
@@ -64,7 +64,7 @@ class customModel extends model
|
||||
for($i = 0; $i <= $sectionIndex; $i ++)
|
||||
{
|
||||
$sectionKey = $sections[$i];
|
||||
$oldSectionArr = $oldSectionArr[$sectionKey];
|
||||
$oldSectionArr = isset($oldSectionArr[$sectionKey]) ? $oldSectionArr[$sectionKey] : array();
|
||||
}
|
||||
$sectionArr = array_merge($oldSectionArr, $sectionArr);
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ class dev extends control
|
||||
|
||||
if($this->server->request_method == 'POST')
|
||||
{
|
||||
$this->dev->saveCustomedLang($common, $moduleName, $method, $language);
|
||||
$this->dev->saveCustomedLang($type, $moduleName, $method, $language);
|
||||
return $this->send(array('result' => 'success', 'locate' => 'reload', 'message' => $this->lang->saveSuccess));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user