Code Duplication    Length = 3-3 lines in 2 locations

xfcreate.php 2 locations

@@ 95-97 (lines=3) @@
92
                $msgstop .= $xoopsCaptcha->getMessage();
93
            }
94
        }*/
95
        if (2 == $option['opt_url'] && preg_match('/(http)|(www)/i', $message)) {
96
            $msgstop .= MD_XFGUESTBOOK_URL_DISABLED . '<br>';
97
        }
98
99
        if ('' !== $email && !checkEmail($email)) {
100
            $msgstop .= MD_XFGUESTBOOK_INVALIDMAIL . '<br>';
@@ 173-175 (lines=3) @@
170
        if ('' == $_POST['uman']) {
171
            redirect_header('index.php', 2, '');
172
        }
173
        if (2 == $option['opt_url'] && preg_match('/(http[s])|(www)/i', $message)) {
174
            $msgstop .= MD_XFGUESTBOOK_URL_DISABLED . '<br><br>';
175
        }
176
        if (!XfguestbookUtil::email_exist($email)) {
177
            $msgstop .= MD_XFGUESTBOOK_INVALIDMAIL . '<br><br>';
178
        }