Few bug fixes to the translation manager

This commit is contained in:
2018-01-20 14:23:36 +02:00
parent c6884571bd
commit 850b5867e1
7 changed files with 105 additions and 53 deletions

View File

@ -107,13 +107,13 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin
$translation->loadString($item->translation);
$item->translation = $translation->toArray();
}
if (!empty($item->components))
{
// JSON Decode components.
$item->components = json_decode($item->components);
$item->components = json_decode($item->components, true);
}
if (empty($item->id))
{