]> git.mxchange.org Git - mailer.git/commitdiff
Fix for misstyped function name isUrlBlacklistEnabled() is the right one
authorRoland Häder <roland@mxchange.org>
Mon, 8 Nov 2010 17:47:13 +0000 (17:47 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 8 Nov 2010 17:47:13 +0000 (17:47 +0000)
inc/modules/admin/what-unlock_emails.php
inc/modules/member/what-order.php

index 7b23649d3e6c76572ced7451c7a758cbe7a00981..d97788292bec56553f4ae53028f9eb4d4310cf84 100644 (file)
@@ -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 {
index 21b69096609240c668cc925b14f16661db97c93a..2c68913887a898cba82da71b896c26e60ad61867 100644 (file)
@@ -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__);