]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-order.php
Introduced new extension ext-blacklist:
[mailer.git] / inc / modules / member / what-order.php
index 60a07e03cfdb66b3714e2c3f4a3416dc49dfac05..a1f7a2a08f284aa3a8a87311af2bbb1a6c940f4c 100644 (file)
@@ -124,7 +124,7 @@ LIMIT 1",
                } // END - if
 
                // And shall I check that his URL is not in the black list?
-               if (isUrlBlacklisted(postRequestElement('url'))) {
+               if ((isExtensionActive('blacklist')) && (isUrlBlacklisted(postRequestElement('url')))) {
                        // Create redirect-URL
                        $data['url'] = 'modules.php?module=login&what=order&code=' . getCode('BLIST_URL') . '&blist=' . $GLOBALS['blacklist_data'][postRequestElement('url')]['timestamp'];
                } // END - if