From 1bc13d243747e633b71494441075315fd508f08c Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Fri, 9 Feb 2024 00:58:13 +0700 Subject: [PATCH] Update viewtopic.php --- viewtopic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viewtopic.php b/viewtopic.php index 1ff9e6df..5bc17e18 100644 --- a/viewtopic.php +++ b/viewtopic.php @@ -677,7 +677,7 @@ for($i = 0; $i < $total_posts; $i++) $rg_signature = ($postrow[$i]['group_signature']) ? bbcode2html(htmlCHR($postrow[$i]['group_signature'])) : ''; $poster_avatar = ''; - if ( !$user->opt_js['h_av'] && $poster_id != GUEST_UID ) + if ( (!$user->opt_js['h_av'] || $poster_id == BOT_UID) && $poster_id != GUEST_UID ) { $poster_avatar = get_avatar($poster_id, $postrow[$i]['avatar_ext_id'], !bf($postrow[$i]['user_opt'], 'user_opt', 'dis_avatar')); }