From 09ae6c488b05f792635987541fc7163e8c080214 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 20 Mar 2015 08:16:16 +0100 Subject: [PATCH] Fixed a bug where the session date would be edited by a chart. --- app/Http/Controllers/GoogleChartController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/GoogleChartController.php b/app/Http/Controllers/GoogleChartController.php index ff0280b1e8..472459b668 100644 --- a/app/Http/Controllers/GoogleChartController.php +++ b/app/Http/Controllers/GoogleChartController.php @@ -503,7 +503,7 @@ class GoogleChartController extends Controller { // oldest transaction in category: /** @var TransactionJournal $first */ - $start = Session::get('start'); + $start = clone Session::get('start'); $chart->addColumn('Period', 'date'); $chart->addColumn('Spent', 'number');