mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: do not fallback to flair_url column
flair_url is not loaded by our query anymore so avoid falling back to the old value
This commit is contained in:
@@ -748,7 +748,7 @@ class Group < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def flair_url
|
||||
flair_icon.presence || flair_upload&.url || self[:flair_url].presence
|
||||
flair_icon.presence || flair_upload&.url
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
Reference in New Issue
Block a user