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

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