diff --git a/admin/import_export_framework.pl b/admin/import_export_framework.pl index c5058247a0..5a38a85955 100755 --- a/admin/import_export_framework.pl +++ b/admin/import_export_framework.pl @@ -53,7 +53,7 @@ my $action = $input->param('action') || 'export'; if ($action eq 'export' && $input->request_method() eq 'GET') { my $strXml = ''; my $format = $input->param('type_export_' . $frameworkcode); - if ($frameworkcode == 'default') { + if ($frameworkcode eq 'default') { ExportFramework('', \$strXml, $format); } else { ExportFramework($frameworkcode, \$strXml, $format);