X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/098a79f0819ebb89b7d48df4a6b154af4560f68e..bdc4cdb7f5efbd4b273be6def7652e9011b977a6:/charts.php diff --git a/charts.php b/charts.php index 5e26978e..31ac49f1 100644 --- a/charts.php +++ b/charts.php @@ -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