X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=report.php;h=dd4b9be3aedf827ab5ff4646723a9627cd6bb408;hb=a331cbeee550ed74a5333c6ac361418161d84bd7;hp=775a5dd83e390a859d903921a0cf10167b3094e9;hpb=4426ed3bc8e53d5013d356505283c916e3826392;p=timetracker.git diff --git a/report.php b/report.php index 775a5dd8..dd4b9be3 100644 --- a/report.php +++ b/report.php @@ -64,7 +64,7 @@ if ($client_id && $bean->getAttribute('chinvoice') && ('no_grouping' == $bean->g } } -if ($request->getMethod() == 'POST') { +if ($request->isPost()) { foreach($_POST as $key => $val) { if ('log_id_' == substr($key, 0, 7)) $time_log_ids[] = substr($key, 7); @@ -80,7 +80,7 @@ if ($request->getMethod() == 'POST') { // Re-display this form. header('Location: report.php'); exit(); -} // POST +} // isPost $group_by = $bean->getAttribute('group_by');