Fix condition

This commit is contained in:
James Brooks
2017-04-02 14:35:34 +01:00
parent 4607d90401
commit d115acf41c

View File

@@ -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.';
}