diff --git a/classes/shop/Shop.php b/classes/shop/Shop.php index afbaaa9454df2..36e122483a910 100644 --- a/classes/shop/Shop.php +++ b/classes/shop/Shop.php @@ -146,7 +146,9 @@ protected static function init() 'category' => array('type' => 'shop'), 'category_lang' => array('type' => 'fk_shop'), 'cms' => array('type' => 'shop'), + 'cms_lang' => array('type' => 'fk_shop'), 'cms_category' => array('type' => 'shop'), + 'cms_category_lang' => array('type' => 'fk_shop'), 'contact' => array('type' => 'shop'), 'country' => array('type' => 'shop'), 'currency' => array('type' => 'shop'), @@ -1030,6 +1032,13 @@ public function copyShopData($old_id, $tables_import = false, $deleted = false) $tables_import['carrier_lang'] = true; } + if (isset($tables_import['cms'])) + { + $tables_import['cms_lang'] = true; + $tables_import['cms_category'] = true; + $tables_import['cms_category_lang'] = true; + } + $tables_import['category_lang'] = true; if (isset($tables_import['product'])) $tables_import['product_lang'] = true;