From 485195e7d5032a65ffaa201a08ef46452aef8923 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 23 Mar 2009 18:27:11 +0000 Subject: [PATCH] Recommit the fix for updating existing storage locations. --- lib/WebGUI/Asset/Story.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset/Story.pm b/lib/WebGUI/Asset/Story.pm index 49108dd71..9c6751fe8 100644 --- a/lib/WebGUI/Asset/Story.pm +++ b/lib/WebGUI/Asset/Story.pm @@ -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'),