1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-20 07:42:09 +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:
Henry Sudhof 2008-10-08 14:00:28 +00:00
parent f9cd8acb4a
commit c73ff606d4

View File

@ -692,7 +692,7 @@ else if ( $search_keywords != '' || $search_author != '' || $search_id )
$result_array = serialize($store_search_data);
unset($store_search_data);
$search_id = crc32(dss_rand());
$search_id = abs(crc32(dss_rand()));
$sql = "UPDATE " . SEARCH_TABLE . "
SET search_id = $search_id, search_time = $current_time, search_array = '" . str_replace("\'", "''", $result_array) . "'