mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
Fixed: better input validation, thanks to Niels Teusink for pointing this one out
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4680 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -682,7 +682,8 @@ else if ( $search_keywords != '' || $search_author != '' || $search_id )
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( intval($search_id) )
|
||||
$search_id = intval($search_id);
|
||||
if ( $search_id )
|
||||
{
|
||||
$sql = "SELECT search_array
|
||||
FROM " . SEARCH_TABLE . "
|
||||
|
Reference in New Issue
Block a user