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

@ -29,6 +29,7 @@
- fix: Photo EXIF data now gets cached correctly and sanitized for - fix: Photo EXIF data now gets cached correctly and sanitized for
references (since JSON won't store them and they're of no use to us anyway). references (since JSON won't store them and they're of no use to us anyway).
- fix: No current asset when ending up on Not Found page - fix: No current asset when ending up on Not Found page
- fix: Couldn't add single photos to gallery.
7.5.0 7.5.0
- rfe: Search Asset returns URLs - rfe: Search Asset returns URLs

View file

@ -884,7 +884,12 @@ sub www_edit {
return $self->session->privilege->locked unless $self->canEditIfLocked; return $self->session->privilege->locked unless $self->canEditIfLocked;
# Prepare the template variables # 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 # Generate the form
if ($form->get("func") eq "add") { if ($form->get("func") eq "add") {