X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/b4b57ea6a41c263250715f72248d48eae22f5476..a7ba11adfecf6cb906749efe5abce688363aef07:/cf_custom_field_edit.php diff --git a/cf_custom_field_edit.php b/cf_custom_field_edit.php index b6a1f461..0488f64a 100644 --- a/cf_custom_field_edit.php +++ b/cf_custom_field_edit.php @@ -52,7 +52,7 @@ if ($errors->no()) { $form->addInput(array('type'=>'submit','name'=>'btn_save','value'=>$i18n->getKey('button.save'))); } -if ($request->getMethod() == 'POST') { +if ($request->isPost()) { $cl_name = trim($request->getParameter('name')); $cl_type = $request->getParameter('type'); $cl_required = $request->getParameter('required');