From 28c72c7d23e7f365ac588ee61ffcb190d9d3fa4e Mon Sep 17 00:00:00 2001 From: cxt Date: Fri, 2 Jun 2017 15:05:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BA=AB=E4=BB=BD=E8=AE=A4=E8=AF=81=E7=9A=84?= =?UTF-8?q?=E5=9B=BE=E5=83=8F=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 985235b05..82f4b3ac0 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -2802,7 +2802,7 @@ module ApplicationHelper if File.exist?(disk_auth_filename("UserAuthentication",user_id,type)) File.join(relative_path,avatar_directory("UserAuthentication"), auth_filename(user_id,type)) else - File.join(relative_path,avatar_directory("UserAuthentication"),'0') + File.join(relative_path,avatar_directory("UserAuthentication"),type) end end