Fixed a bug where the session date would be edited by a chart.

This commit is contained in:
James Cole 2015-03-20 08:16:16 +01:00
parent 271a0ade26
commit 09ae6c488b

View File

@ -503,7 +503,7 @@ class GoogleChartController extends Controller
{ {
// oldest transaction in category: // oldest transaction in category:
/** @var TransactionJournal $first */ /** @var TransactionJournal $first */
$start = Session::get('start'); $start = clone Session::get('start');
$chart->addColumn('Period', 'date'); $chart->addColumn('Period', 'date');
$chart->addColumn('Spent', 'number'); $chart->addColumn('Spent', 'number');