Code Duplication    Length = 3-3 lines in 2 locations

htdocs/modules/system/admin/modulesadmin/modulesadmin.php 2 locations

@@ 236-238 (lines=3) @@
233
                        $newbid    = $db->genId($db->prefix('newblocks') . '_bid_seq');
234
                        $edit_func = isset($block['edit_func']) ? trim($block['edit_func']) : '';
235
                        $template  = '';
236
                        if (isset($block['template']) && trim($block['template']) != '') {
237
                            $content =& xoops_module_gettemplate($dirname, $block['template'], 'blocks');
238
                        }
239
                        if (empty($content)) {
240
                            $content = '';
241
                        } else {
@@ 936-938 (lines=3) @@
933
                    $funcfiles[] = $block['file'];
934
                    $content = '';
935
                    $template = '';
936
                    if (isset($block['template']) && trim($block['template']) != '') {
937
                        $content =& xoops_module_gettemplate($dirname, $block['template'], 'blocks');
938
                    }
939
                    if (!$content) {
940
                        $content = '';
941
                    } else {