]> git.proxmox.com Git - pve-storage.git/commitdiff
add content type attribute
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 31 Oct 2011 10:45:16 +0000 (11:45 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 31 Oct 2011 10:45:16 +0000 (11:45 +0100)
PVE/API2/Storage/Content.pm

index c21061edf50942552ae73f5408a276176cdf2b67..239522d42716ba906c78af182fb421d02db8ce93 100644 (file)
@@ -79,6 +79,7 @@ __PACKAGE__->register_method ({
            next if !$data || !$data->{$storeid};
 
            foreach my $item (@{$data->{$storeid}}) {
+               $item->{content} = $ct;
                push @$res, $item;
            }
        }