Fixed bugs in navigation template vars and privilege bug in WG::A::File. Also added page.parent.rank tmpl_var to the nav template.
This commit is contained in:
parent
209e529a45
commit
e3b558fc2b
5 changed files with 23 additions and 6 deletions
|
|
@ -251,6 +251,7 @@ sub processPropertiesFromFormPost {
|
|||
delete $self->{_storageLocation};
|
||||
my $storage = $self->getStorageLocation;
|
||||
my $filename = $storage->addFileFromFormPost("file",1);
|
||||
$storage->setPrivileges($self->get('ownerUserId'), $self->get('groupIdView'), $self->get('groupIdEdit'));
|
||||
if (defined $filename && $filename ne $self->get("filename")) {
|
||||
my %data;
|
||||
$data{filename} = $filename;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue