projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'upstream/master'
[timetracker.git]
/
WEB-INF
/
lib
/
form
/
ActionForm.class.php
diff --git
a/WEB-INF/lib/form/ActionForm.class.php
b/WEB-INF/lib/form/ActionForm.class.php
index
2029c20
..
03994dd
100644
(file)
--- a/
WEB-INF/lib/form/ActionForm.class.php
+++ b/
WEB-INF/lib/form/ActionForm.class.php
@@
-74,7
+74,7
@@
class ActionForm {
*/
function initAttributes(&$request) {
//$submit_flag = $this->isSubmit();
*/
function initAttributes(&$request) {
//$submit_flag = $this->isSubmit();
- $submit_flag = (is_object($request) && ($request->
getMethod() == 'POST'
));
+ $submit_flag = (is_object($request) && ($request->
isPost()
));
if ($submit_flag) {
// fill ActionForm and Form from Request
if ($submit_flag) {
// fill ActionForm and Form from Request