Project

General

Profile

Patch #39184 ยป 0001-Cleanup-debug-code.patch

Holger Just, 2023-10-12 15:26

View differences:

app/models/mail_handler.rb
615 615
      unless user.valid?
616 616
        user.login = "user#{Redmine::Utils.random_hex(6)}" unless user.errors[:login].blank?
617 617
        user.firstname = "-" unless user.errors[:firstname].blank?
618
        (puts user.errors[:lastname]; user.lastname  = "-") unless user.errors[:lastname].blank?
618
        user.lastname  = "-" unless user.errors[:lastname].blank?
619 619
      end
620 620
      user
621 621
    end
    (1-1/1)