Code Duplication    Length = 4-4 lines in 2 locations

class/utility.php 2 locations

@@ 3527-3530 (lines=4) @@
3524
            unset($letter_array);
3525
        }
3526
        // Render output
3527
        if (!isset($GLOBALS['xoTheme']) || !is_object($GLOBALS['xoTheme'])) {
3528
            require_once $GLOBALS['xoops']->path('class/theme.php');
3529
            $GLOBALS['xoTheme'] = new xos_opal_Theme();
3530
        }
3531
        require_once $GLOBALS['xoops']->path('class/template.php');
3532
        $letterschoiceTpl          = new XoopsTpl();
3533
        $letterschoiceTpl->caching = false; // Disable cache
@@ 3581-3584 (lines=4) @@
3578
            unset($letter_array);
3579
        }
3580
        // Render output
3581
        if (!isset($GLOBALS['xoTheme']) || !is_object($GLOBALS['xoTheme'])) {
3582
            include_once $GLOBALS['xoops']->path('/class/theme.php');
3583
            $GLOBALS['xoTheme'] = new xos_opal_Theme();
3584
        }
3585
        require_once $GLOBALS['xoops']->path('class/template.php');
3586
        $letterschoiceTpl          = new XoopsTpl();
3587
        $letterschoiceTpl->caching = false; // Disable cache