projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Siwtched to using isPost() function
[timetracker.git]
/
cf_custom_field_delete.php
diff --git
a/cf_custom_field_delete.php
b/cf_custom_field_delete.php
index
139253d
..
162ddeb
100644
(file)
--- a/
cf_custom_field_delete.php
+++ b/
cf_custom_field_delete.php
@@
-40,7
+40,7
@@
$id = $request->getParameter('id');
$form = new Form('fieldDeleteForm');
-if ($request->
getMethod() == 'POST'
) {
+if ($request->
isPost()
) {
if ($request->getParameter('btn_delete')) {
// Delete button pressed.
$res = CustomFields::deleteField($id);