diff --git a/PVE/API2/Storage/Content.pm b/PVE/API2/Storage/Content.pm index 699823b..f159600 100644 --- a/PVE/API2/Storage/Content.pm +++ b/PVE/API2/Storage/Content.pm @@ -219,7 +219,7 @@ __PACKAGE__->register_method ({ my $cfg = PVE::Storage::config(); - PVE::Storage::check_volume_access($rpcenv, $rpcenv->$authuser, $cfg, undef, $volid); + PVE::Storage::check_volume_access($rpcenv, $authuser, $cfg, undef, $volid); my $path = PVE::Storage::path($cfg, $volid); my ($size, $format, $used, $parent) = PVE::Storage::file_size_info($path);