Thank you very much for an explanation! I prefer to understand (at least a bit) what am i doing... lol
I guess i will stick with your idea with the dot! I really like it! Thank you!
My error with the product got back... Sorry, for further questions...

2020-09-11 22:11:29 - PHP Notice: Undefined index: attribute_id in /home/wittomin/oc/storage/modification/admin/model/catalog/product.php on line 178
2020-09-11 22:28:37 - PHP Warning: Illegal string offset 'attribute_id' in /home/wittomin/oc/storage/modification/admin/model/catalog/product.php on line 178
2020-09-11 22:28:37 - PHP Warning: Illegal string offset 'attribute_id' in /home/wittomin/oc/storage/modification/admin/model/catalog/product.php on line 180
2020-09-11 22:28:37 - PHP Warning: Illegal string offset 'product_attribute_description' in /home/wittomin/oc/storage/modification/admin/model/catalog/product.php on line 182
2020-09-11 22:28:37 - PHP Warning: Invalid argument supplied for foreach() in /home/wittomin/oc/storage/modification/admin/model/catalog/product.php on line 182
These are the lines - 176-187.. I am a bit lost. Compared with the file, which comes with OC.. looks the same.. No idea why it is complaining... And above all couple of attributes in products disapear from time to time.. Is there a typo or else? It started after modifications with the language, and the attribute disappears only for one language, so it is really strange and looks related to the chenges in language.php or smth... Could be be so kind to take a look...
if (!empty($data['product_attribute'])) {
foreach ($data['product_attribute'] as $product_attribute) {
if ($product_attribute['attribute_id']) {
// Removes duplicates
$this->db->query("DELETE FROM " . DB_PREFIX . "product_attribute WHERE product_id = '" . (int)$product_id . "' AND attribute_id = '" . (int)$product_attribute['attribute_id'] . "'");
foreach ($product_attribute['product_attribute_description'] as $language_id => $product_attribute_description) {
$this->db->query("INSERT INTO " . DB_PREFIX . "product_attribute SET product_id = '" . (int)$product_id . "', attribute_id = '" . (int)$product_attribute['attribute_id'] . "', language_id = '" . (int)$language_id . "', text = '" . $this->db->escape($product_attribute_description['text']) . "'");
}
}
}
}