Code Duplication    Length = 7-9 lines in 2 locations

catalog/includes/modules/content/navigation/cm_navbar.php 1 location

@@ 78-84 (lines=7) @@
75
          }
76
        }
77
78
        if ( !empty($navbar_modules) ) {
79
      ob_start();
80
      include('includes/modules/content/' . $this->group . '/templates/navbar.php');
81
      $template = ob_get_clean();
82
83
      $oscTemplate->addContent($template, $this->group);
84
        }
85
      }
86
    }
87

catalog/includes/modules/content/product_info/cm_pi_gtin.php 1 location

@@ 52-60 (lines=9) @@
49
        if (!empty($gtin)) {
50
          $gtin = substr($gtin, 0 - MODULE_CONTENT_PRODUCT_INFO_GTIN_LENGTH);
51
52
          if (!empty($gtin)) {
53
            $gtin = HTML::outputProtected($gtin);
54
55
            ob_start();
56
            include('includes/modules/content/' . $this->group . '/templates/gtin.php');
57
            $template = ob_get_clean();
58
59
            $oscTemplate->addContent($template, $this->group);
60
          }
61
        }
62
      }
63
    }