diff --git a/viewtopic.php b/viewtopic.php index 9aa4bf3cf..7e8de66e5 100644 --- a/viewtopic.php +++ b/viewtopic.php @@ -604,6 +604,7 @@ for ($i = 0; $i < $total_posts; $i++) { if (!$poster_bot) { $quote_btn = ($is_auth['auth_reply'] && !$locked); $edit_btn = (($userdata['user_id'] == $poster_id && $is_auth['auth_edit']) || $is_auth['auth_mod']); + $pin_btn = (($userdata['user_id'] == $poster_id) || $is_auth['auth_mod']); $ip_btn = ($is_auth['auth_mod'] || IS_MOD); } $delpost_btn = ($post_id != $t_data['topic_first_post_id'] && ($is_auth['auth_mod'] || ($userdata['user_id'] == $poster_id && $is_auth['auth_delete'] && $t_data['topic_last_post_id'] == $post_id && $postrow[$i]['post_time'] + 3600 * 3 > TIMENOW)));