whoops, re-add check for explicitly_body_specific?

In bfd825d, we refactored the "is item body-specific?" check. In the process, we dropped the check for the manual override flag, `explicitly_body_specific?`. Not sure if it was an accident or if I was just _so_ confident that it was gonna work :P In any case, re-add the check!
This commit is contained in:
Matt Dunn-Rankin 2017-10-29 15:08:22 -07:00
parent bd3b75c675
commit 80e74da84f

View file

@ -404,7 +404,7 @@ class Item < ActiveRecord::Base
def body_specific? def body_specific?
# If there are species support IDs (it's not empty), the item is # If there are species support IDs (it's not empty), the item is
# body-specific. If it's empty, it fits everyone the same. # body-specific. If it's empty, it fits everyone the same.
!species_support_ids.empty? explicitly_body_specific? || !species_support_ids.empty?
end end
def add_origin_registry_info(info, locale) def add_origin_registry_info(info, locale)