X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/1fad211ab12fc66117094e33425f8414fccd2cfa..a7ba11adfecf6cb906749efe5abce688363aef07:/cf_dropdown_option_delete.php diff --git a/cf_dropdown_option_delete.php b/cf_dropdown_option_delete.php index a1f4b139..270d56f5 100644 --- a/cf_dropdown_option_delete.php +++ b/cf_dropdown_option_delete.php @@ -39,7 +39,7 @@ if (!ttAccessCheck(right_manage_team)) { $cl_id = $request->getParameter('id'); $form = new Form('optionDeleteForm'); -if ($request->getMethod() == 'POST') { +if ($request->isPost()) { // Determine field id for redirect. $field_id = CustomFields::getFieldIdForOption($cl_id);