X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-order.php;h=e4cd4069471ff876dfd18625091b44a96c4b98b4;hp=31b3327451e880c587e932ce29e6174772e2e583;hb=a1ab2fa4296e58f66a15ac7b568a1454713a61ee;hpb=b6cf467cb0598f96529e46a9de5377f8218ff0dd;ds=sidebyside diff --git a/inc/modules/member/what-order.php b/inc/modules/member/what-order.php index 31b3327451..e4cd406947 100644 --- a/inc/modules/member/what-order.php +++ b/inc/modules/member/what-order.php @@ -127,9 +127,9 @@ LIMIT 1", // No entry found, so we need to check out the stats table as well... :) // We have to add that suff here, now we continue WITHOUT checking and check the text and subject against some filters $URL = ''; - if (getConfig('test_text') == 'Y') { + if (getConfig('allow_url_in_text') == 'Y') { // Test submitted text against some filters (length, URLs in text etc.) - if ((strpos(strtolower(postRequestElement('text')), "https://") > -1) || (strpos(strtolower(postRequestElement('text')), 'http://') > -1) || (strpos(strtolower(postRequestElement('text')), "www") > -1)) { + if ((strpos(strtolower(postRequestElement('text')), 'https://') > -1) || (strpos(strtolower(postRequestElement('text')), 'http://') > -1) || (strpos(strtolower(postRequestElement('text')), "www") > -1)) { // URL found! $URL = 'modules.php?module=login&what=order&code=' . getCode('URL_FOUND'); } // END - if @@ -145,7 +145,7 @@ LIMIT 1", } // END - if // Shall I test the subject line against URLs? - if (getConfig('test_subj') == 'Y') { + if (getConfig('allow_url_in_subject') == 'Y') { // Check the subject line for issues setRequestPostElement('subject', str_replace("\\", '[nl]', substr(postRequestElement('subject'), 0, 200))); if ((strpos(strtolower(postRequestElement('subject')), 'http://') > -1) || (strpos(strtolower(postRequestElement('subject')), "www") > -1)) {