Skip to content
Permalink
Browse files

Provide a fallback for contents of .wgaccess files. Fixes bug #12328

  • Loading branch information...
perlDreamer committed Feb 25, 2012
1 parent 99fa73a commit d2f157ddeaa73c2420107ea49929ff6b36176740
Showing with 4 additions and 3 deletions.
  1. +1 −0 docs/changelog/7.x.x.txt
  2. +3 −3 lib/WebGUI/URL/Uploads.pm
@@ -4,6 +4,7 @@
- fixed #12327: HttpProxy does not clean up cookie jar storage locations
- fixed #12329: FlatDiscount Sku forces you to enter in negative numbers for price
- fixed #12334: Company name with : in it breaks email sender identity
- fixed #12328: invalid wgaccess file in uploads

7.10.24
- fixed #12318: asset error causes asset manager to fail
@@ -69,9 +69,9 @@ sub handler {
}
else {
my $privs = JSON->new->decode($fileContents);
@users = @{ $privs->{users} };
@groups = @{ $privs->{groups} };
@assets = @{ $privs->{assets} };
@users = @{ $privs->{users} || [] };
@groups = @{ $privs->{groups} || [] };
@assets = @{ $privs->{assets} || [] };
$state = $privs->{state};
}

0 comments on commit d2f157d

Please sign in to comment.
You can’t perform that action at this time.