mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Fixed incorrect displaying post actions buttons (#1021)
This commit is contained in:
parent
eb4ecfabb2
commit
c9d223b346
1 changed files with 7 additions and 2 deletions
|
@ -585,11 +585,16 @@ 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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue