diff options
-rw-r--r-- | app/models/mail_handler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index 67cb016d1..6d53530a8 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -615,7 +615,7 @@ class MailHandler < ActionMailer::Base unless user.valid? user.login = "user#{Redmine::Utils.random_hex(6)}" unless user.errors[:login].blank? user.firstname = "-" unless user.errors[:firstname].blank? - (puts user.errors[:lastname]; user.lastname = "-") unless user.errors[:lastname].blank? + user.lastname = "-" unless user.errors[:lastname].blank? end user end |