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

Wrong key value in call to get_string() - confusing select menu text

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Choice
    • Labels:
      None
    • Environment:
      XAMPP running on WinVista. Moodle 2.0 Preview 4 (Build: 20100703)
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      choice/lib.php, line 551. Wrong key value in get_string ('moveselectedcoursesto') does not make sense in this context. Should be 'withselectedusers'?

      echo html_writer::select(array('delete' => get_string('delete')), 'action', '', array(''=>get_string('moveselectedcoursesto')), array('id'=>'menuaction'));

        Attachments

          Activity

            People

            Assignee:
            danmarsden Dan Marsden
            Reporter:
            bgray Brian Gray
            Tester:
            Nobody
            Participants:
            Component watchers:
            Dan Marsden, 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:
              24/Nov/10