Recommit the fix for updating existing storage locations.

This commit is contained in:
Colin Kuskie 2009-03-23 18:27:11 +00:00
parent 55196c4eda
commit 485195e7d5

View file

@ -512,7 +512,7 @@ sub processPropertiesFromFormPost {
next PHOTO;
}
my $newPhoto = {
storageId => $form->process('photo' .$photoIndex, 'image', ),
storageId => $form->process('photo' .$photoIndex, 'image', $storageId),
caption => $form->process('imgCaption'.$photoIndex, 'text'),
alt => $form->process('imgAlt' .$photoIndex, 'text'),
title => $form->process('imgTitle' .$photoIndex, 'text'),