mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
And why in hell didn't these commit ... they were in the list "days" ago ... ggrrr
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3298 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -83,7 +83,7 @@ if (
|
||||
// session id check
|
||||
if ($sid == '' || $sid != $userdata['session_id'])
|
||||
{
|
||||
message_die(ERROR, 'Invalid_session');
|
||||
message_die(GENERAL_ERROR, 'Invalid_session');
|
||||
}
|
||||
|
||||
include($phpbb_root_path . 'includes/functions_validate.'.$phpEx);
|
||||
|
@@ -32,7 +32,7 @@ if ( isset($HTTP_POST_VARS['submit']) )
|
||||
// session id check
|
||||
if ($sid == '' || $sid != $userdata['session_id'])
|
||||
{
|
||||
message_die(ERROR, 'Invalid_session');
|
||||
message_die(GENERAL_ERROR, 'Invalid_session');
|
||||
}
|
||||
|
||||
$username = ( !empty($HTTP_POST_VARS['username']) ) ? trim(strip_tags($HTTP_POST_VARS['username'])) : '';
|
||||
|
Reference in New Issue
Block a user