mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
Remove user facing session_id checks, they remain in admin and mod panels, fix bug which allows sending email via board even when disabled
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3481 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -222,7 +222,7 @@ function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_
|
||||
|
||||
$current_time = time();
|
||||
|
||||
if ($mode == 'newtopic' || $mode == 'reply')
|
||||
if ($mode == 'newtopic' || $mode == 'reply' || $mode == 'editpost')
|
||||
{
|
||||
//
|
||||
// Flood control
|
||||
@@ -242,7 +242,8 @@ function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ($mode == 'editpost')
|
||||
|
||||
if ($mode == 'editpost')
|
||||
{
|
||||
remove_search_post($post_id);
|
||||
}
|
||||
|
Reference in New Issue
Block a user