fix: Couldn't add photos to gallery albums

This commit is contained in:
Doug Bell 2008-02-04 00:56:00 +00:00
parent ebfc711f65
commit 2bad2ecab2
2 changed files with 7 additions and 1 deletions

View file

@ -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") {