Recommit the fix for updating existing storage locations.
This commit is contained in:
parent
55196c4eda
commit
485195e7d5
1 changed files with 1 additions and 1 deletions
|
|
@ -512,7 +512,7 @@ sub processPropertiesFromFormPost {
|
||||||
next PHOTO;
|
next PHOTO;
|
||||||
}
|
}
|
||||||
my $newPhoto = {
|
my $newPhoto = {
|
||||||
storageId => $form->process('photo' .$photoIndex, 'image', ),
|
storageId => $form->process('photo' .$photoIndex, 'image', $storageId),
|
||||||
caption => $form->process('imgCaption'.$photoIndex, 'text'),
|
caption => $form->process('imgCaption'.$photoIndex, 'text'),
|
||||||
alt => $form->process('imgAlt' .$photoIndex, 'text'),
|
alt => $form->process('imgAlt' .$photoIndex, 'text'),
|
||||||
title => $form->process('imgTitle' .$photoIndex, 'text'),
|
title => $form->process('imgTitle' .$photoIndex, 'text'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue