From ce0b109654c669ab4888b5d344dc47490d12203d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 3 Oct 2016 15:15:40 +0100 Subject: [PATCH] Bug 17389: (bug 16035 follow-up) Fix export non-default frameworks Trivial patch, no need to explain anything :) Test plan: Export default framework Export other frameworks => The frameworkcode column should contain the framework code --- admin/import_export_framework.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/import_export_framework.pl b/admin/import_export_framework.pl index c505824..5a38a85 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); -- 2.8.1