X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/fd3db1c1a2b975a23c907b2e9b714a0cfe47f3e0..6cae57e56590e859655bde42058a8bddac7b594e:/charts.php diff --git a/charts.php b/charts.php index a58c3d86..08834508 100644 --- a/charts.php +++ b/charts.php @@ -73,7 +73,7 @@ if (MODE_TIME == $user->tracking_mode) { if ($cl_type == CHART_CLIENTS) { if (!in_array('cl', explode(',', $user->plugins))) $cl_type = CHART_PROJECTS; - } else if ($cl_type == CHART_TASKS) { + } elseif ($cl_type == CHART_TASKS) { if (MODE_PROJECTS_AND_TASKS != $user->tracking_mode) $cl_type = CHART_PROJECTS; } @@ -117,7 +117,7 @@ if ($request->getMethod( )== 'POST') { exit(); } } -} // POST +} // isPost // Elements of chartForm. $chart_form = new Form('chartForm');