mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
fix user that has permission can not see uploader on torrent table
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ if (!$row) {
|
||||
|
||||
// ------------- start upped by block ------------------//
|
||||
if($row['anonymous'] == 'yes') {
|
||||
if (!user_can('viewanonymous'))
|
||||
if (!user_can('viewanonymous') && $row['owner'] != $CURUSER['id'])
|
||||
$uprow = "<i>".$lang_details['text_anonymous']."</i>";
|
||||
else
|
||||
$uprow = "<i>".$lang_details['text_anonymous']."</i> (" . get_username($row['owner'], false, true, true, false, false, true) . ")";
|
||||
|
||||
Reference in New Issue
Block a user