From 3b65b9cba816569ce9bdabb033f4cfca0c0ea2b0 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Wed, 15 Jul 2020 09:45:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5500?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/managements/_user_agent_list.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/managements/_user_agent_list.html.erb b/app/views/managements/_user_agent_list.html.erb index 18ac8a09..e386970c 100644 --- a/app/views/managements/_user_agent_list.html.erb +++ b/app/views/managements/_user_agent_list.html.erb @@ -13,13 +13,13 @@
<% @user_agents.each do |ua| %> <% user = User.find_by_login(ua.key) %> - <% user_extension = user.user_extensions %> - <% school = user_extension.school %> + <% user_extension = user&.user_extensions %> + <% school = user_extension&.school %>