$form->addInput(array('type'=>'combobox','name'=>'compression','value'=>$cl_compression,'data'=>$compressors));
$form->addInput(array('type'=>'submit','name'=>'btn_submit','value'=>$i18n->getKey('button.export')));
-if ($request->getMethod() == 'POST') {
+if ($request->isPost()) {
$filename = 'team_data.xml';
$mime_type = 'text/xml';