Code Duplication    Length = 7-7 lines in 2 locations

upgrade/cnt-2.2.x-to-2.3.0/index.php 2 locations

@@ 330-336 (lines=7) @@
327
        $bid       = 0;
328
        $block_key = null;
329
        while ($row = $xoopsDB->fetchArray($result)) {
330
            if ($row['dirname'] != $dirname) {
331
                $dirname    = $row['dirname'];
332
                $modversion = array();
333
                if (!@include XOOPS_ROOT_PATH . '/modules/' . $dirname . '/xoops_version.php') {
334
                    continue;
335
                }
336
            }
337
            if (empty($modversion['blocks']) && $dirname !== 'system') {
338
                continue;
339
            }
@@ 364-370 (lines=7) @@
361
        $bid       = 0;
362
        $block_key = null;
363
        while ($row = $xoopsDB->fetchArray($result)) {
364
            if ($row['dirname'] != $dirname) {
365
                $dirname    = $row['dirname'];
366
                $modversion = array();
367
                if (!@include XOOPS_ROOT_PATH . '/modules/' . $dirname . '/xoops_version.php') {
368
                    continue;
369
                }
370
            }
371
            if (empty($modversion['blocks']) && $dirname !== 'system') {
372
                continue;
373
            }