about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-03-01 13:31:47 -0600
committermultiple creatures <dev@multiple-creature.party>2020-03-01 13:31:47 -0600
commit4666080b3bfa388adf22480d1e7819e0b69f9153 (patch)
tree79fff092b51effe8a76530e7d4982c44e5ab62b2
parente33c4d0f152345edd7498885a15b993a5885540d (diff)
fix typo - `service` -> `service?`
-rw-r--r--app/models/account.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account.rb b/app/models/account.rb
index 07896fac6..76ffdfc07 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -498,7 +498,7 @@ class Account < ApplicationRecord
   end
 
   def can_be_marked_known?
-    !known && !manual_only && (!service || (service? && Setting.auto_mark_services_known)) && Setting.auto_mark_known
+    !known && !manual_only && (!service? || (service? && Setting.auto_mark_services_known)) && Setting.auto_mark_known
   end
 
   class Field < ActiveModelSerializers::Model