From 595adbe4da5296b0f3ebde6628e58e878c0fb7d5 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Mon, 31 Mar 2025 23:54:53 +0700 Subject: [PATCH] fix: `tablesorting` issues & incorrect `user_role` for pending users (#1871) --- group.php | 2 +- styles/templates/default/group.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/group.php b/group.php index 237b12357..b674c823d 100644 --- a/group.php +++ b/group.php @@ -573,7 +573,7 @@ if (!$group_id) { $template->assign_block_vars('pending', [ 'ROW_CLASS' => $row_class, 'AVATAR_IMG' => $pending_info['avatar'], - 'USER' => profile_url($pending_info), + 'USER' => profile_url($member), 'FROM' => $pending_info['from'], 'JOINED' => $pending_info['joined'], 'JOINED_RAW' => $pending_info['joined_raw'], diff --git a/styles/templates/default/group.tpl b/styles/templates/default/group.tpl index 295c14f92..25a8305e9 100644 --- a/styles/templates/default/group.tpl +++ b/styles/templates/default/group.tpl @@ -228,7 +228,7 @@ - +
@@ -253,7 +253,7 @@ - +
#{pending.PM} {pending.EMAIL} {pending.FROM}{pending.JOINED_RAW}{pending.JOINED}{pending.JOINED_RAW}{pending.JOINED} {pending.POSTS} {pending.WWW}