Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 528-533 (lines=6) @@
525
                continue;
526
            }
527
528
            if (trim($node['addcats'])) {
529
                $cats = explode('|', $node['addcats']);
530
                foreach ($cats as $cat) {
531
                    $this->content(['cat' => $cat], $key);
532
                }
533
            }
534
            $this->content($node, $key);
535
        }
536
    }

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

@@ 33-38 (lines=6) @@
30
                continue;
31
            }
32
33
            if (trim($node['addcats'])) {
34
                $cats = explode('|', $node['addcats']);
35
                foreach ($cats as $cat) {
36
                    self::content(array('cat' => $cat), $key);
37
                }
38
            }
39
            self::content($node, $key);
40
        }
41
    }