diff --git a/search.php b/search.php index a8ac2198..12fa5c6a 100644 --- a/search.php +++ b/search.php @@ -609,12 +609,18 @@ if ($post_mode) 'TOPIC_ICON' => get_topic_icon($first_post, $is_unread_t), )); - $quote_btn = true; - $edit_btn = $delpost_btn = $ip_btn = (IS_AM); + $quote_btn = $edit_btn = $ip_btn = ''; + $delpost_btn = (IS_AM); // Topic posts block foreach ($topic_posts as $row_num => $post) { + if ($post['poster_id'] != BOT_UID) + { + $quote_btn = true; + $edit_btn = $ip_btn = (IS_AM); + } + $message = get_parsed_post($post); if (count($orig_word))