more perms
This commit is contained in:
parent
9cebbae6b8
commit
38802c61cf
2 changed files with 2 additions and 2 deletions
|
@ -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)";
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue