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

get_string: improved error checking with use of eval

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.3
    • 1.9.4
    • Libraries
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      From http://cvs.moodle.org/moodle/lib/moodlelib.php?r1=1.960.2.49&r2=1.960.2.50&pathrev=MOODLE_19_STABLE it appears that we were checking that eval functioned properly before continuing but we did not check the two parent language uses of eval. The attached patch adds the same check introduced above to the parent language section of the get_string function. Peace - Anthony

      Attachments

        Activity

          People

            aborrow Anthony Borrow
            aborrow Anthony Borrow
            Petr Skoda Petr Skoda
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              28/Jan/09