Code Duplication    Length = 4-4 lines in 2 locations

class/breadcrumb.php 1 location

@@ 65-68 (lines=4) @@
62
     */
63
    public function render()
64
    {
65
        if (!isset($GLOBALS['xoTheme']) || !is_object($GLOBALS['xoTheme'])) {
66
            include_once $GLOBALS['xoops']->path('class/theme.php');
67
            $GLOBALS['xoTheme'] = new xos_opal_Theme();
68
        }
69
70
        require_once $GLOBALS['xoops']->path('class/template.php');
71
        $breadcrumbTpl = new XoopsTpl();

class/pedigreeUtilities.php 1 location

@@ 735-738 (lines=4) @@
732
            unset($letter_array);
733
        }
734
        // Render output
735
        if (!isset($GLOBALS['xoTheme']) || !is_object($GLOBALS['xoTheme'])) {
736
            include_once $GLOBALS['xoops']->path('class/theme.php');
737
            $GLOBALS['xoTheme'] = new xos_opal_Theme();
738
        }
739
        require_once $GLOBALS['xoops']->path('class/template.php');
740
        $letterschoiceTpl          = new XoopsTpl();
741
        $letterschoiceTpl->caching = false; // Disable cache