mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Added missing template var in group.php (#939)
* Added missing template var in group.php * Update group.php
This commit is contained in:
parent
e05ef75abc
commit
860011d517
1 changed files with 9 additions and 8 deletions
17
group.php
17
group.php
|
@ -563,7 +563,7 @@ if (!$group_id) {
|
|||
foreach ($modgroup_pending_list as $i => $member) {
|
||||
$user_id = $member['user_id'];
|
||||
|
||||
$member_info = generate_user_info($member, $is_moderator);
|
||||
$pending_info = generate_user_info($member, $is_moderator);
|
||||
|
||||
$row_class = !($i % 2) ? 'row1' : 'row2';
|
||||
|
||||
|
@ -571,14 +571,15 @@ if (!$group_id) {
|
|||
|
||||
$template->assign_block_vars('pending', [
|
||||
'ROW_CLASS' => $row_class,
|
||||
'AVATAR_IMG' => $member_info['avatar'],
|
||||
'USER' => profile_url($member),
|
||||
'FROM' => $member_info['from'],
|
||||
'JOINED' => $member_info['joined'],
|
||||
'POSTS' => $member_info['posts'],
|
||||
'AVATAR_IMG' => $pending_info['avatar'],
|
||||
'USER' => profile_url($pending_info),
|
||||
'FROM' => $pending_info['from'],
|
||||
'JOINED' => $pending_info['joined'],
|
||||
'POSTS' => $pending_info['posts'],
|
||||
'USER_ID' => $user_id,
|
||||
'PM' => $member_info['pm'],
|
||||
'EMAIL' => $member_info['email']
|
||||
'PM' => $pending_info['pm'],
|
||||
'EMAIL' => $pending_info['email'],
|
||||
'WWW' => $pending_info['www']
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue