Code Duplication    Length = 4-4 lines in 2 locations

class/utilities.php 2 locations

@@ 3487-3490 (lines=4) @@
3484
            unset($letter_array);
3485
        }
3486
        // Render output
3487
        if (!isset($GLOBALS['xoTheme']) || !is_object($GLOBALS['xoTheme'])) {
3488
            include_once $GLOBALS['xoops']->path('class/theme.php');
3489
            $GLOBALS['xoTheme'] = new xos_opal_Theme();
3490
        }
3491
        require_once $GLOBALS['xoops']->path('class/template.php');
3492
        $letterschoiceTpl          = new XoopsTpl();
3493
        $letterschoiceTpl->caching = false; // Disable cache
@@ 3541-3544 (lines=4) @@
3538
            unset($letter_array);
3539
        }
3540
        // Render output
3541
        if (!isset($GLOBALS['xoTheme']) || !is_object($GLOBALS['xoTheme'])) {
3542
            include_once $GLOBALS['xoops']->path('/class/theme.php');
3543
            $GLOBALS['xoTheme'] = new xos_opal_Theme();
3544
        }
3545
        require_once $GLOBALS['xoops']->path('class/template.php');
3546
        $letterschoiceTpl          = new XoopsTpl();
3547
        $letterschoiceTpl->caching = false; // Disable cache