mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 11:27:24 +08:00
fix user that has permission can not see uploader on torrent table
This commit is contained in:
@@ -3701,7 +3701,7 @@ foreach ($rows as $row)
|
||||
|
||||
if (
|
||||
$row["anonymous"] == "yes"
|
||||
&& (user_can('torrentmanage') || (isset($row['owner']) && $row['owner'] == $CURUSER['id']))
|
||||
&& (user_can('viewanonymous') || (isset($row['owner']) && $row['owner'] == $CURUSER['id']))
|
||||
) {
|
||||
print("<td class=\"rowfollow\" align=\"center\"><i>".$lang_functions['text_anonymous']."</i><br />".(isset($row["owner"]) ? "(" . get_username($row["owner"]) .")" : "<i>".$lang_functions['text_orphaned']."</i>") . "</td>\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user