Fix condition
This commit is contained in:
@@ -220,7 +220,7 @@ class Metric extends Model implements HasPresenter
|
||||
{
|
||||
$messages = [];
|
||||
|
||||
if (60 % $this->threshold === 0) {
|
||||
if (60 % $this->threshold !== 0) {
|
||||
$messages[] = 'Threshold must be divisible by 60.';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user