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

On a 2.0 site, an mnet user from a 1.9 site will have the wrong lang string eg "en_utf8".

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: MNet
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      This should be fixed in mnet (the lang string name should be converted properly).

      But just to catch any other times that old lang strings get through the net (incl direct poking in the database), I'm going to add this to current_language()

      $return = str_replace('_utf8', '', $return);

        Attachments

          Activity

            People

            Assignee:
            mudrd8mz David Mudrák (@mudrd8mz)
            Reporter:
            dougiamas Martin Dougiamas
            Tester:
            Nobody
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10