Several more constants rewritten to getConfig()
[mailer.git] / mailid_top.php
index f670abbd9cea94da5632403cf267cb460c305bf7..36d762fc6b508c16a193134beee8c0271618238d 100644 (file)
@@ -317,7 +317,7 @@ if (($url_uid) > 0 && (($url_mid > 0) || ($url_bid > 0)) && (getTotalFatalErrors
                                                                                $content['banner'] = LOAD_TEMPLATE('mailid_banner', true);
                                                                                if (getConfig('code_length') > 0) {
                                                                                        // Generate Code
-                                                                                       define('_IMAGE_CODE', generateCaptchaCode($code, $type, $urlId, $url_uid));
+                                                                                       $content['image'] = generateCaptchaCode($code, $type, $urlId, $url_uid);
                                                                                        $templ = 'mailid_enter_code';
                                                                                } else {
                                                                                        // Disabled code