fix: Couldn't add photos to gallery albums
This commit is contained in:
parent
ebfc711f65
commit
2bad2ecab2
2 changed files with 7 additions and 1 deletions
|
|
@ -884,7 +884,12 @@ sub www_edit {
|
|||
return $self->session->privilege->locked unless $self->canEditIfLocked;
|
||||
|
||||
# Prepare the template variables
|
||||
my $var = $self->getTemplateVars;
|
||||
# Cannot get all template vars since they require a storage location, doesn't work for
|
||||
# creating new assets.
|
||||
#my $var = $self->getTemplateVars;
|
||||
my $var = {
|
||||
url_addArchive => $self->getParent->getUrl('func=addArchive'),
|
||||
};
|
||||
|
||||
# Generate the form
|
||||
if ($form->get("func") eq "add") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue