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>
This commit is contained in:
parent
f28460bdb7
commit
a1eeffd838
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue