From d0990742881480899992be4e2395e52280931b9f Mon Sep 17 00:00:00 2001 From: Christian Bartelt Date: Mon, 4 Jan 2016 22:08:46 +0100 Subject: [PATCH] Update MetricController.php Fixed a wrong key identifier in createMetricAction method. --- app/Http/Controllers/Dashboard/MetricController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Dashboard/MetricController.php b/app/Http/Controllers/Dashboard/MetricController.php index 7f912a3c..afd9997b 100644 --- a/app/Http/Controllers/Dashboard/MetricController.php +++ b/app/Http/Controllers/Dashboard/MetricController.php @@ -79,7 +79,7 @@ class MetricController extends Controller $metricData['calc_type'], $metricData['display_chart'], $metricData['places'], - $metricData['view'] + $metricData['default_view'] )); } catch (ValidationException $e) { return Redirect::route('dashboard.metrics.add')