From 343bdb16337a5165599c36d5c0e93c33fcae7287 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 8 Nov 2010 17:47:13 +0000 Subject: [PATCH] Fix for misstyped function name isUrlBlacklistEnabled() is the right one --- inc/modules/admin/what-unlock_emails.php | 4 ++-- inc/modules/member/what-order.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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__); -- 2.39.5