Correctly retrieve the value
This commit is contained in:
@@ -108,7 +108,7 @@ abstract class AbstractMetricRepository
|
||||
$point->value = $metric->default_value;
|
||||
}
|
||||
|
||||
if ($point->value === 0 && $metric->default_value != $value) {
|
||||
if ($point->value === 0 && $metric->default_value != $point->value) {
|
||||
$point->value = $metric->default_value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user