Code Duplication    Length = 3-3 lines in 2 locations

xfcreate.php 2 locations

@@ 151-153 (lines=3) @@
148
        if ('' !== $_POST['uman']) {
149
            redirect_header('index.php', 2, '');
150
        }
151
        if (2 == $option['opt_url'] && preg_match('/(http)|(www)/i', $message)) {
152
            $msgstop .= _MD_XFGB_URL_DISABLED . '<br><br>';
153
        }
154
        if (!email_exist($email)) {
155
            $msgstop .= _MD_XFGB_INVALIDMAIL . '<br><br>';
156
        }
@@ 80-82 (lines=3) @@
77
                $msgstop .= $xoopsCaptcha->getMessage();
78
            }
79
        }*/
80
        if (2 == $option['opt_url'] && preg_match('/(http)|(www)/i', $message)) {
81
            $msgstop .= _MD_XFGB_URL_DISABLED . '<br>';
82
        }
83
84
        if ('' !== $email && !checkEmail($email)) {
85
            $msgstop .= _MD_XFGB_INVALIDMAIL . '<br>';