Revert "Update search.php"

This reverts commit 42895d7a9b.
This commit is contained in:
Roman Kelesidis 2024-04-21 23:22:57 +07:00
parent 42895d7a9b
commit ce2d4c199c

View File

@ -535,10 +535,6 @@ if ($post_mode)
$SQL['ORDER BY'][] = ($new_posts && $join_p) ? "p.topic_id ASC, p.post_time ASC" : "$order $sort"; $SQL['ORDER BY'][] = ($new_posts && $join_p) ? "p.topic_id ASC, p.post_time ASC" : "$order $sort";
$SQL['LIMIT'][] = "$search_limit"; $SQL['LIMIT'][] = "$search_limit";
if (is_numeric($topic_val))
{
set_die_append_msg(null, $topic_val);
}
$items_display = fetch_search_ids($SQL); $items_display = fetch_search_ids($SQL);
} }
else if (!$items_display = array_slice($items_found, $start, $per_page)) else if (!$items_display = array_slice($items_found, $start, $per_page))