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
Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit a1eeffd838)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
80de7080ef
commit
5cf95dc6db
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue