Properly fixed metric updating

// cc @jbrooksuk
This commit is contained in:
Graham Campbell
2016-06-07 11:11:17 +01:00
parent a0b9856d61
commit b64dd1e87e
2 changed files with 4 additions and 5 deletions

View File

@@ -153,8 +153,7 @@ class MetricController extends Controller
Binput::get('display_chart', null, false),
Binput::get('places', null, false),
Binput::get('default_view', null, false),
Binput::get('threshold', null, false),
null,
Binput::get('threshold', null, false)
));
} catch (ValidationException $e) {
return Redirect::route('dashboard.metrics.edit', ['id' => $metric->id])