diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index fd2ddc5cb..0e7e9f4eb 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -9,6 +9,7 @@ - fix: Outdated info in Env macro help (perlDreamer Consulting, LLC) - fix: Calendar: Only Turn Admin On group can add events (perlDreamer Consulting, LLC) - fix: Event -> canEdit (perlDreamer Consulting, LLC) + - fix: import packages broke (perlDreamer Consulting, LLC) - fix: A bunch of bugs in fileImport.pl and improved its performance very significantly (Martin Kamerbeek / Oqapi) diff --git a/lib/WebGUI/AssetPackage.pm b/lib/WebGUI/AssetPackage.pm index c54bd190e..c54cc5dd7 100644 --- a/lib/WebGUI/AssetPackage.pm +++ b/lib/WebGUI/AssetPackage.pm @@ -258,7 +258,8 @@ sub www_importPackage { ##This is a hack. It should use the WebGUI::Form::File API to insulate ##us from future form name changes. - $storage->addFileFromFormPost("packageFile_file",1); + $storage->addFileFromFormPost("packageFile",1); + use Data::Dumper; my $error = ""; if ($storage->getFileExtension($storage->getFiles->[0]) eq "wgpkg") {