$this->
overwriteWithDefaultShopValues($config);
return parent::
write($config,
$fields,
$update,
$force,
$allowReset);
} /**
* If there is a snippet missing, set the shopID and localeID to the main shop since all
* language shops derive from it.
*/
private function overwriteWithDefaultShopValues(Enlight_Config
$config): void
{ $section =
explode($config->
getSectionSeparator(),
$config->
getSection());
if (!\
is_array($section)) { return;
} if (!\
is_array($this->_sectionColumn
)) { return;
} foreach ($this->_sectionColumn
as $key =>
$columnName) { switch ($columnName) { case 'shopID':