Commit 39d7f07c authored by Markus Klein's avatar Markus Klein
Browse files

[BUGFIX] Fix xml file handling for edit mode

parent 7c7fc897
...@@ -114,7 +114,7 @@ abstract class FileBaseService extends FileService { ...@@ -114,7 +114,7 @@ abstract class FileBaseService extends FileService {
// get localized file // get localized file
$lFile = $this->getLocalizedFile($localLang[$lang], $lang); $lFile = $this->getLocalizedFile($localLang[$lang], $lang);
if ($this->checkLocalizedFile(basename($lFile), $lang)) { if ($lFile && $this->checkLocalizedFile(basename($lFile), $lang)) {
$originLang[$lang] = $lFile; $originLang[$lang] = $lFile;
$localLang[$lang] = array(); $localLang[$lang] = array();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment