From: Roland Häder Date: Mon, 8 Nov 2010 17:47:13 +0000 (+0000) Subject: Fix for misstyped function name isUrlBlacklistEnabled() is the right one X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=343bdb16337a5165599c36d5c0e93c33fcae7287;p=mailer.git Fix for misstyped function name isUrlBlacklistEnabled() is the right one --- diff --git a/inc/modules/admin/what-unlock_emails.php b/inc/modules/admin/what-unlock_emails.php index 7b23649d3e..d97788292b 100644 --- a/inc/modules/admin/what-unlock_emails.php +++ b/inc/modules/admin/what-unlock_emails.php @@ -166,7 +166,7 @@ LIMIT 1", // Nothing selected loadTemplate('admin_settings_saved', false, '{--ADMIN_MAILS_NOTHING_CHECKED--}'); } - } elseif ((isFormSent('lock')) && (ifPostContainsSelections()) && (isUrlBlaskEnabled())) { + } elseif ((isFormSent('lock')) && (ifPostContainsSelections()) && (isUrlBlacklistEnabled())) { // Lock URLs foreach (postRequestParameter('sel') as $id => $url) { // Secure id number @@ -206,7 +206,7 @@ LIMIT 1", // Load main template loadTemplate('admin_unlock_emails', false, $content); - } elseif ((isFormSent('lock')) && (!isUrlBlaskEnabled())) { + } elseif ((isFormSent('lock')) && (!isUrlBlacklistEnabled())) { // URL blacklist not activated loadTemplate('admin_settings_saved', false, '{--ADMIN_URL_BLACKLIST_DISABLED--}'); } else { diff --git a/inc/modules/member/what-order.php b/inc/modules/member/what-order.php index 21b6909660..2c68913887 100644 --- a/inc/modules/member/what-order.php +++ b/inc/modules/member/what-order.php @@ -120,7 +120,7 @@ LIMIT 1", } // END - if // And shall I check that his URL is not in the black list? - if (isUrlBlaskEnabled()) { + if (isUrlBlacklistEnabled()) { // Ok, I do that for you know... $result = SQL_QUERY_ESC("SELECT UNIX_TIMESTAMP(`timestamp`) AS tstamp FROM `{?_MYSQL_PREFIX?}_url_blacklist` WHERE `url`='%s' LIMIT 1", array(postRequestParameter('url')), __FILE__, __LINE__);