Code Duplication    Length = 9-9 lines in 2 locations

index.php 1 location

@@ 138-146 (lines=9) @@
135
                );
136
            }
137
        }
138
        if (empty($_image) || $_image == '') {
139
            $imgurl  = $indicator['image'];
140
            $_width  = 33;
141
            $_height = 24;
142
        } else {
143
            $imgurl  = "{$xoopsModuleConfig['catimage']}/$_image";
144
            $_width  = $xoopsModuleConfig['shotwidth'];
145
            $_height = $xoopsModuleConfig['shotheight'];
146
        }
147
        // End
148
149
        $xoopsTpl->append(

viewcat.php 1 location

@@ 117-125 (lines=9) @@
114
            }
115
        }
116
117
        if (empty($_image) || $_image == '') {
118
            $imgurl  = $indicator['image'];
119
            $_width  = 33;
120
            $_height = 24;
121
        } else {
122
            $imgurl  = "{$xoopsModuleConfig['catimage']}/$_image";
123
            $_width  = $xoopsModuleConfig['shotwidth'];
124
            $_height = $xoopsModuleConfig['shotheight'];
125
        }
126
        /*
127
        * End
128
        */