mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
oops; bantu noted that this won't work properly
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@8982 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -692,7 +692,7 @@ else if ( $search_keywords != '' || $search_author != '' || $search_id )
|
|||||||
$result_array = serialize($store_search_data);
|
$result_array = serialize($store_search_data);
|
||||||
unset($store_search_data);
|
unset($store_search_data);
|
||||||
|
|
||||||
$search_id = crc32(dss_rand());
|
$search_id = abs(crc32(dss_rand()));
|
||||||
|
|
||||||
$sql = "UPDATE " . SEARCH_TABLE . "
|
$sql = "UPDATE " . SEARCH_TABLE . "
|
||||||
SET search_id = $search_id, search_time = $current_time, search_array = '" . str_replace("\'", "''", $result_array) . "'
|
SET search_id = $search_id, search_time = $current_time, search_array = '" . str_replace("\'", "''", $result_array) . "'
|
||||||
|
Reference in New Issue
Block a user