From 5cf95dc6db4356dd5fbb1d9c46c50652d508a19b 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Trivial patch, no need to explain anything :) Test plan: Export default framework Export other frameworks => The frameworkcode column should contain the framework code Signed-off-by: Hector Castro Works as advertised Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher (cherry picked from commit a1eeffd8385e5b95ca1d06a8300e5bd42403486a) Signed-off-by: Frédéric Demians --- 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 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); -- 2.39.5