mirror of
https://github.com/neocities/neocities.git
synced 2025-07-03 09:33:25 +02:00
catch mystery missing profile comment and skip
This commit is contained in:
parent
375cffb6fd
commit
c43b68005a
1 changed files with 22 additions and 20 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
<% if profile_comment %>
|
||||||
<% actioning_site = profile_comment.actioning_site_dataset.select(:id, :username, :stripe_customer_id, :plan_type, :parent_site_id).first %>
|
<% actioning_site = profile_comment.actioning_site_dataset.select(:id, :username, :stripe_customer_id, :plan_type, :parent_site_id).first %>
|
||||||
<% site = profile_comment.site_dataset.select(:id, :username, :stripe_customer_id, :plan_type, :parent_site_id).first %>
|
<% site = profile_comment.site_dataset.select(:id, :username, :stripe_customer_id, :plan_type, :parent_site_id).first %>
|
||||||
|
|
||||||
|
@ -22,3 +23,4 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="content"><%== sanitize_comment profile_comment.message %></div>
|
<div class="content"><%== sanitize_comment profile_comment.message %></div>
|
||||||
|
<% end %>
|
Loading…
Add table
Add a link
Reference in a new issue