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_dropdown_option_add.php
diff --git
a/cf_dropdown_option_add.php
b/cf_dropdown_option_add.php
index
c1fa7e0
..
7feae8a
100644
(file)
--- a/
cf_dropdown_option_add.php
+++ b/
cf_dropdown_option_add.php
@@
-48,7
+48,7
@@
if ($errors->no()) {
$form->addInput(array('type'=>'submit','name'=>'btn_add','value'=>$i18n->getKey('button.add')));
}
-if ($request->
getMethod() == 'POST'
) {
+if ($request->
isPost()
) {
$cl_option_name = trim($request->getParameter('name'));
// Validate user input.