diff options
Diffstat (limited to 'phpBB/search.php')
-rw-r--r-- | phpBB/search.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index 306f19597..0c575deb1 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -692,8 +692,7 @@ else if ( $search_keywords != '' || $search_author != '' || $search_id ) $result_array = serialize($store_search_data); unset($store_search_data); - mt_srand ((double) microtime() * 1000000); - $search_id = mt_rand(); + $search_id = crc32(dss_rand()); $sql = "UPDATE " . SEARCH_TABLE . " SET search_id = $search_id, search_time = $current_time, search_array = '" . str_replace("\'", "''", $result_array) . "' |