more perms
This commit is contained in:
parent
9cebbae6b8
commit
38802c61cf
@ -19,7 +19,7 @@ class CustomViewImageTheme extends ViewImageTheme {
|
||||
$h_filesize = to_shorthand_int($image->filesize);
|
||||
|
||||
global $user;
|
||||
if($user->is_admin()) {
|
||||
if($user->can("view_ip")) {
|
||||
$h_ownerlink .= " ($h_ip)";
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,7 @@ class CustomViewImageTheme extends ViewImageTheme {
|
||||
$h_filesize = to_shorthand_int($image->filesize);
|
||||
|
||||
global $user;
|
||||
if($user->is_admin()) {
|
||||
if($user->can("view_ip")) {
|
||||
$h_ownerlink .= " ($h_ip)";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user