]> wagnertech.de Git - timetracker.git/blobdiff - report.php
Siwtched to using isPost() function
[timetracker.git] / report.php
index 775a5dd83e390a859d903921a0cf10167b3094e9..a34238fbcc144e5b09b664fceb926414726e9114 100644 (file)
@@ -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);