diff --git a/html/asset/index.php b/html/asset/index.php index e00055d..83e5e66 100644 --- a/html/asset/index.php +++ b/html/asset/index.php @@ -50,7 +50,7 @@ if ($id) { if(isLoggedIn()) { - if ($iteminfo->IsPublicDomain == true or $iteminfo->CreatorId == $user->id or $user->isAdmin()) + if ($iteminfo->IsPublicDomain == true or $iteminfo->CreatorId == $user->id or $user->isOwner()) { ReturnAsset($iteminfo->Hash, $iteminfo->AssetTypeId); }