diff --git a/plugins/Admin/admin.pl b/plugins/Admin/admin.pl index 161ca9f9c..77fa5665d 100755 --- a/plugins/Admin/admin.pl +++ b/plugins/Admin/admin.pl @@ -1213,6 +1213,7 @@ sub editStory { $stoid = $slashdb->getStory($form->{stoid} || $form->{sid}, 'stoid', 1); if ($stoid) { handleMediaFileForStory($stoid); + $storyref->{stoid} = $stoid; } } elsif ($stoid) { # Loading an existing SID