]> wagnertech.de Git - timetracker.git/blobdiff - charts.php
Finished refactoring Turkish translation.
[timetracker.git] / charts.php
index 985a1ae8ebfde0deaf89e0d03f9f6c1a9964fb2d..c76eddfa549b296d4b1807ed6886cd72908805c5 100644 (file)
@@ -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) {