Code Duplication    Length = 3-3 lines in 3 locations

category.php 1 location

@@ 162-164 (lines=3) @@
159
                $eachentry['dir']  = $xoopsModule->dirname();
160
                $eachentry['id']   = $entryID;
161
                $eachentry['term'] = ucfirst($myts->htmlSpecialChars($term));
162
                if (!XOOPS_USE_MULTIBYTES) {
163
                    $eachentry['definition'] = $myts->displayTarea($definition, $html, $smiley, $xcodes, 1, $breaks);
164
                }
165
                if (($xoopsModuleConfig['com_rule'] != 0)
166
                    || (($xoopsModuleConfig['com_rule'] != 0)
167
                        && is_object($xoopsUser))

letter.php 2 locations

@@ 119-121 (lines=3) @@
116
            }
117
        }
118
119
        if (!XOOPS_USE_MULTIBYTES) {
120
            $eachentry['definition'] = $myts->displayTarea($definition, $html, $smiley, $xcodes, 1, $breaks);
121
        }
122
123
        // Functional links
124
        $microlinks              = LexikonUtility::getServiceLinks($eachentry);
@@ 218-220 (lines=3) @@
215
                $eachentry['comments'] = '';
216
            }
217
        }
218
        if (!XOOPS_USE_MULTIBYTES) {
219
            $eachentry['definition'] = $myts->displayTarea($definition, $html, $smiley, $xcodes, 1, $breaks);
220
        }
221
222
        // Functional links
223
        $microlinks              = LexikonUtility::getServiceLinks($eachentry);