Code Duplication    Length = 3-3 lines in 2 locations

application/modules/import_export/classes/BaseImport.php 1 location

@@ 472-474 (lines=3) @@
469
                            $data[] = $v;
470
                        }
471
                    }
472
                    if ($changed) {
473
                        $this->db->update('shop_product_properties_i18n', ['data' => serialize($data)], ['id' => $properyAlias[$nodeKey], 'locale' => $this->languages]);
474
                    }
475
                }
476
            }
477
        }

application/modules/import_export/classes/PropertiesImport.php 1 location

@@ 83-85 (lines=3) @@
80
                            $data[] = $v;
81
                        }
82
                    }
83
                    if ($changed) {
84
                        $this->db->update('shop_product_properties_i18n', ['data' => serialize($data)], ['id' => $properyAlias[$nodeKey], 'locale' => $this->languages]);
85
                    }
86
                }
87
            }
88
        }