Skip to content

Commit

Permalink
ccf exlcusions
Browse files Browse the repository at this point in the history
  • Loading branch information
davydovct committed Apr 4, 2018
1 parent 45e8772 commit 7c704d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Version 2.20 December 24, 2017
------------------------------
- New option for email notifications
- New option for custom contact form checking

Version 2.19 December 24, 2017
------------------------------
Expand Down
2 changes: 1 addition & 1 deletion cleantalkMod.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function cleantalk_sfw_check()
}
}
}
if (!empty($modSettings['cleantalk_ccf_checking']) && strpos($_SERVER['REQUEST_URI'], 'action=admin') === false && strpos($_SERVER['REQUEST_URI'], 'action=register') === false && strpos($_SERVER['REQUEST_URI'], 'action=login') === false && strpos($_SERVER['REQUEST_URI'], 'action=post') === false && $_SERVER['REQUEST_METHOD'] == 'POST')
if (!empty($modSettings['cleantalk_ccf_checking']) && strpos($_SERVER['REQUEST_URI'], 'action=admin') === false && strpos($_SERVER['REQUEST_URI'], 'action=register') === false && strpos($_SERVER['REQUEST_URI'], 'action=login') === false && strpos($_SERVER['REQUEST_URI'], 'action=post') === false && strpos($_SERVER['REQUEST_URI'], 'action=tpadmin') === false && $_SERVER['REQUEST_METHOD'] == 'POST')
{
$ct_temp_msg_data = cleantalkGetFields($_POST);
$sender_email = ($ct_temp_msg_data['email'] ? $ct_temp_msg_data['email'] : '');
Expand Down

0 comments on commit 7c704d7

Please sign in to comment.