Add the shared 'role' so everything works event if you don't have any group

This commit is contained in:
Daniel Berteaud 2014-02-18 09:55:28 +01:00
parent d48f6094b1
commit f377726f7b
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ my @s = $a->get_all_by_prop( type => 'share' );
my $data;
foreach my $group ($a->groups){
foreach my $group ($a->groups, $a->get('shared')){
my $groupname = $group->key;
foreach my $share (@s){
my $sharename = $share->key;