Update search.php

This commit is contained in:
Roman Kelesidis 2023-12-18 15:33:57 +07:00
parent 935c61ef11
commit 00f9fd0a10

View File

@ -879,9 +879,10 @@ function fetch_search_ids ($sql, $search_type = SEARCH_TYPE_POST)
}
// Save results in DB
$search_id = make_rand_str(SEARCH_ID_LENGTH);
if ($items_count > $per_page)
{
$search_id = make_rand_str(SEARCH_ID_LENGTH);
$search_array = join(',', $items_found);
$save_in_db = array(