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

Role names are not multilang-filtered in user profile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7, 1.7.1, 1.8
    • Fix Version/s: 1.7.2, 1.8
    • Component/s: Filters
    • Labels:
      None
    • Affected Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE

      Description

      In /user/view.php, the role names in the string "Users with the role x" do not get filtered so that the multilang filter does not get applied to this string.

      In v. 1.150, line 330 needs to be changed from:
      print_row(get_string('roles').':', $rolestring);
      to:
      print_row(get_string('roles').':', format_string($rolestring));

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nicolasconnault Nicolas Connault
              Reporter:
              mknierim Markus Knierim
              Tester:
              Nobody
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                30/Mar/07