Commit 14181e47 authored by Stefan Galinski's avatar Stefan Galinski 🎮
Browse files

Merge branch 'xml-editing-fix' into 'master'

[BUGFIX] Fix xml file handling for edit mode

See merge request !11
parents 7c7fc897 39d7f07c
......@@ -114,7 +114,7 @@ abstract class FileBaseService extends FileService {
// get localized file
$lFile = $this->getLocalizedFile($localLang[$lang], $lang);
if ($this->checkLocalizedFile(basename($lFile), $lang)) {
if ($lFile && $this->checkLocalizedFile(basename($lFile), $lang)) {
$originLang[$lang] = $lFile;
$localLang[$lang] = array();
Markdown is supported
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