]> wagnertech.de Git - timetracker.git/blobdiff - charts.php
Cosmetic formatting improvements
[timetracker.git] / charts.php
index 5e26978e0e35301148350404703ed55844cb71be..31ac49f1e7bde6e99dcd0b2d825e07cbce962b39 100644 (file)
@@ -88,10 +88,10 @@ if ($request->getMethod( )== 'POST') {
   // If chart interval changed - save it.
   $cl_interval = $request->getParameter('interval');
   if ($cl_interval) {
-       // Save in the session
+    // Save in the session
     $_SESSION['chart_interval'] = $cl_interval;
     // and permanently.
-       $sc = new ttSysConfig($user->id);
+    $sc = new ttSysConfig($user->id);
     $sc->setValue(SYSC_CHART_INTERVAL, $cl_interval);
   }
   // If chart type changed - save it.  
@@ -227,4 +227,3 @@ $smarty->assign('forms', array($chart_form->getName() => $chart_form->toArray())
 $smarty->assign('title', $i18n->getKey('title.charts'));
 $smarty->assign('content_page_name', 'charts.tpl');
 $smarty->display('index.tpl');
-?>
\ No newline at end of file