Code Duplication    Length = 9-9 lines in 2 locations

index.php 1 location

@@ 108-116 (lines=9) @@
105
                                                         $GLOBALS['xoopsModuleConfig']['updatethumbs'], $GLOBALS['xoopsModuleConfig']['imageAspect']);
106
            }
107
        }
108
        if (empty($_image) || '' === $_image) {
109
            $imgurl  = $indicator['image'];
110
            $_width  = 33;
111
            $_height = 24;
112
        } else {
113
            $imgurl  = "{$GLOBALS['xoopsModuleConfig']['catimage']}/$_image";
114
            $_width  = $GLOBALS['xoopsModuleConfig']['shotwidth'];
115
            $_height = $GLOBALS['xoopsModuleConfig']['shotheight'];
116
        }
117
        // End
118
119
        $xoopsTpl->append('categories', array(

viewcat.php 1 location

@@ 109-117 (lines=9) @@
106
            }
107
        }
108
109
        if (empty($_image) || '' === $_image) {
110
            $imgurl  = $indicator['image'];
111
            $_width  = 33;
112
            $_height = 24;
113
        } else {
114
            $imgurl  = "{$GLOBALS['xoopsModuleConfig']['catimage']}/$_image";
115
            $_width  = $GLOBALS['xoopsModuleConfig']['shotwidth'];
116
            $_height = $GLOBALS['xoopsModuleConfig']['shotheight'];
117
        }
118
        /*
119
        * End
120
        */