X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/0e3c4d629800de449c5a1bb9da780993e5dc5277..20f38d9496f586d33febaa84db236db935e457eb:/charts.php diff --git a/charts.php b/charts.php index a7d0887d..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(); } } -} +} // isPost // Elements of chartForm. $chart_form = new Form('chartForm');