mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 11:58:51 +00: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:
parent
f9cd8acb4a
commit
c73ff606d4
1 changed files with 1 additions and 1 deletions
|
@ -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) . "'
|
||||
|
|
Loading…
Add table
Reference in a new issue