]> wagnertech.de Git - timetracker.git/blobdiff - charts.php
Cleaning up white space.
[timetracker.git] / charts.php
index a58c3d86c2376cc5088f6abd503285c7cd9c5c22..0883450806c534b75b66dd5a0bf3958657989e8c 100644 (file)
@@ -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');