From d115acf41cdb8a7f57941dd300b9a357a43e9566 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sun, 2 Apr 2017 14:35:34 +0100 Subject: [PATCH] Fix condition --- app/Models/Metric.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Metric.php b/app/Models/Metric.php index 2e23f940..21fc1d1e 100644 --- a/app/Models/Metric.php +++ b/app/Models/Metric.php @@ -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.'; }