From 9684a5fdc7afb0f4bf6cebc928f8131c489dfe02 Mon Sep 17 00:00:00 2001
From: daiao <358551898@qq.com>
Date: Tue, 19 Nov 2019 18:45:08 +0800
Subject: [PATCH] 1
---
app/views/admins/identity_authentications/shared/_list.html.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/views/admins/identity_authentications/shared/_list.html.erb b/app/views/admins/identity_authentications/shared/_list.html.erb
index 607feb93a..02c40b5a0 100644
--- a/app/views/admins/identity_authentications/shared/_list.html.erb
+++ b/app/views/admins/identity_authentications/shared/_list.html.erb
@@ -43,7 +43,7 @@
<%= link_to "/users/#{user.login}", class: 'identity-authentication-avatar', target: '_blank', data: { toggle: 'tooltip', title: '个人主页' } do %>
<% end %>
- <% if user.from_sub_site? %>
+ <% if user&.from_sub_site? %>
合作
<% end %>