mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Fix for user-extended permissions on user page. Corrected wrapper ID for user/member list.
This commit is contained in:
4
user.php
4
user.php
@@ -261,12 +261,14 @@ if (isset($id))
|
||||
// $userList = $sql->db_getList();
|
||||
|
||||
$text = $tp->parseTemplate($USER_SHORT_TEMPLATE_START, TRUE, $user_shortcodes);
|
||||
$sc = e107::getScBatch('user');
|
||||
foreach ($data as $row)
|
||||
{
|
||||
$loop_uid = $row['user_id'];
|
||||
|
||||
// $text .= renderuser($row, "short");
|
||||
e107::getScBatch('user')->setVars($row);
|
||||
$sc->setVars($row);
|
||||
$sc->wrapper('user/list');
|
||||
|
||||
$text .= $tp->parseTemplate($USER_SHORT_TEMPLATE, TRUE, $user_shortcodes);
|
||||
}
|
||||
|
Reference in New Issue
Block a user