From ec73c0ff67862acf3b8b8e18d6a7e6d945766034 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sun, 12 Feb 2017 09:55:50 +0100 Subject: [PATCH] fix bug #1280: Can't locate object method "root@pam" This was introduced by commit 04a13668b9b6e15d3aed36ba00ad538b99a9dc15. --- PVE/API2/Storage/Content.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);