mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update search.php
This commit is contained in:
parent
8359fd6610
commit
42895d7a9b
@ -535,6 +535,10 @@ if ($post_mode)
|
||||
$SQL['ORDER BY'][] = ($new_posts && $join_p) ? "p.topic_id ASC, p.post_time ASC" : "$order $sort";
|
||||
$SQL['LIMIT'][] = "$search_limit";
|
||||
|
||||
if (is_numeric($topic_val))
|
||||
{
|
||||
set_die_append_msg(null, $topic_val);
|
||||
}
|
||||
$items_display = fetch_search_ids($SQL);
|
||||
}
|
||||
else if (!$items_display = array_slice($items_found, $start, $per_page))
|
||||
|
Loading…
Reference in New Issue
Block a user