Merge branch 'master' of git@github.com:plainblack/webgui
This commit is contained in:
commit
9805541a6e
168 changed files with 8536 additions and 3809 deletions
BIN
docs/upgrades/packages-7.8.2/fail_safe.wgpkg
Normal file
BIN
docs/upgrades/packages-7.8.2/fail_safe.wgpkg
Normal file
Binary file not shown.
BIN
docs/upgrades/packages-7.8.2/home_map_map-templates.wgpkg
Normal file
BIN
docs/upgrades/packages-7.8.2/home_map_map-templates.wgpkg
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -95,7 +95,8 @@ sub correctWikiAttachmentPermissions {
|
|||
PAGE: while (my $wikiPage = $pageIterator->()) {
|
||||
my $wiki = $wikiPage->getWiki;
|
||||
next PAGE unless $wiki && $wiki->get('allowAttachments') && $wikiPage->getChildCount;
|
||||
foreach my $attachment (@{ $wikiPage->getLineage(['children'])}) {
|
||||
ATTACHMENT: foreach my $attachment (@{ $wikiPage->getLineage(['children'], { returnObjects => 1, })}) {
|
||||
next ATTACHMENT unless $attachment;
|
||||
$attachment->update({ groupIdEdit => $wiki->get('groupToEditPages') });
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue