Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-69481

Mails with newusernewpasswordtext show full name for {$a->firstname}

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.9.1
    • Fix Version/s: None
    • Component/s: User management
    • Labels:
      None
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      FULL STEPS

      1. Create new user with 'Generate password and notify user'.
      2. Have a look at email to that new user.

      WHAT TO EXPECTED

      The mail should show the new user's first name in place of the placeholder ''{$a->firstname}'' inside the ''newusernewpasswordtext'' string.

      WHAT ACTUALLY HAPPENS

      The full name is displayed.

       

      On a side note: In the language pack ''de_du'', I found the placeholder ''{$a->lastname}'' which was not resolved in the corresponding email at all.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              fleupold Florian Leupold
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: