X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/8f2681e0de5fe68120004b4bf8641e8ee1163151..f20ec5fb1e42bf4a273cb2d3a99d3d7b33c2ff48:/charts.php diff --git a/charts.php b/charts.php index 985a1ae8..c76eddfa 100644 --- a/charts.php +++ b/charts.php @@ -84,7 +84,7 @@ $_SESSION['chart_type'] = $cl_type; // Who do we draw charts for? $on_behalf_id = $request->getParameter('onBehalfUser', (isset($_SESSION['behalf_id'])? $_SESSION['behalf_id'] : $user->id)); -if ($request->getMethod( )== 'POST') { +if ($request->isPost()) { // If chart interval changed - save it. $cl_interval = $request->getParameter('interval'); if ($cl_interval) {