mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Don't override existing data when updating metrics
This commit is contained in:
parent
f30710c5a8
commit
d4655112ca
@ -109,10 +109,10 @@ class MetricController extends AbstractApiController
|
||||
Binput::get('suffix'),
|
||||
Binput::get('description'),
|
||||
Binput::get('default_value'),
|
||||
Binput::get('calc_type', 0),
|
||||
Binput::get('calc_type'),
|
||||
Binput::get('display_chart'),
|
||||
Binput::get('places', 2),
|
||||
Binput::get('view', 1)
|
||||
Binput::get('places'),
|
||||
Binput::get('view')
|
||||
));
|
||||
} catch (QueryException $e) {
|
||||
throw new BadRequestHttpException();
|
||||
|
Loading…
x
Reference in New Issue
Block a user