mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
fix for supporter check
This commit is contained in:
parent
0cd510da33
commit
62d0fa36d7
1 changed files with 1 additions and 0 deletions
|
@ -916,6 +916,7 @@ class Site < Sequel::Model
|
|||
end
|
||||
|
||||
def legacy_supporter?
|
||||
return false if values[:plan_type].nil?
|
||||
!values[:plan_type].match(/plan_/).nil?
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue