X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/4426ed3bc8e53d5013d356505283c916e3826392..20f38d9496f586d33febaa84db236db935e457eb:/report.php 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');