From 75600dc4dfb64570771cce8ecf25f514ae130c47 Mon Sep 17 00:00:00 2001 From: phpBB TR <166284197+phpbbtr@users.noreply.github.com> Date: Sun, 5 May 2024 03:38:53 +0300 Subject: [PATCH] Profile fields not visible to administrators --- event/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event/main.php b/event/main.php index 1cc6387..b03be23 100644 --- a/event/main.php +++ b/event/main.php @@ -287,7 +287,7 @@ public function viewtopic_modify_post_row($event) ]; $event['post_row'] = $this->row_handler($event['row']['is_anonymous'], $event['post_row'], 'posts_viewtopic'); // unique to this event - if ($event['row']['is_anonymous']) + if ($event['row']['is_anonymous'] && !$event['post_row']['IS_STAFF']) { $event['cp_row'] = null; }