mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-22 02:55:41 +02:00
and 16
git-svn-id: file:///svn/phpbb/trunk@8124 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -147,7 +147,7 @@ class mcp_notes
|
|||||||
|
|
||||||
if ($usernote && $action == 'add_feedback')
|
if ($usernote && $action == 'add_feedback')
|
||||||
{
|
{
|
||||||
if(check_form_key('mcp_notes'))
|
if (check_form_key('mcp_notes'))
|
||||||
{
|
{
|
||||||
add_log('admin', 'LOG_USER_FEEDBACK', $userrow['username']);
|
add_log('admin', 'LOG_USER_FEEDBACK', $userrow['username']);
|
||||||
add_log('mod', 0, 0, 'LOG_USER_FEEDBACK', $userrow['username']);
|
add_log('mod', 0, 0, 'LOG_USER_FEEDBACK', $userrow['username']);
|
||||||
|
@ -345,7 +345,7 @@ class mcp_warn
|
|||||||
|
|
||||||
if ($warning && $action == 'add_warning')
|
if ($warning && $action == 'add_warning')
|
||||||
{
|
{
|
||||||
if(check_form_key('mcp_warn'))
|
if (check_form_key('mcp_warn'))
|
||||||
{
|
{
|
||||||
add_warning($user_row, $warning, $notify);
|
add_warning($user_row, $warning, $notify);
|
||||||
$msg = $user->lang['USER_WARNING_ADDED'];
|
$msg = $user->lang['USER_WARNING_ADDED'];
|
||||||
|
@ -200,7 +200,7 @@ class ucp_main
|
|||||||
|
|
||||||
if ($unwatch)
|
if ($unwatch)
|
||||||
{
|
{
|
||||||
if(check_form_key('ucp_front_subscribed'))
|
if (check_form_key('ucp_front_subscribed'))
|
||||||
{
|
{
|
||||||
$forums = array_keys(request_var('f', array(0 => 0)));
|
$forums = array_keys(request_var('f', array(0 => 0)));
|
||||||
$topics = array_keys(request_var('t', array(0 => 0)));
|
$topics = array_keys(request_var('t', array(0 => 0)));
|
||||||
|
@ -268,7 +268,7 @@ function message_options($id, $mode, $global_privmsgs_rules, $global_rule_condit
|
|||||||
// Add Rule
|
// Add Rule
|
||||||
if (isset($_POST['add_rule']))
|
if (isset($_POST['add_rule']))
|
||||||
{
|
{
|
||||||
if(check_form_key('ucp_pm_options'))
|
if (check_form_key('ucp_pm_options'))
|
||||||
{
|
{
|
||||||
$check_option = request_var('check_option', 0);
|
$check_option = request_var('check_option', 0);
|
||||||
$rule_option = request_var('rule_option', 0);
|
$rule_option = request_var('rule_option', 0);
|
||||||
|
Reference in New Issue
Block a user