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

get_string: improved error checking with use of eval

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.4
    • 1.9.3
    • Libraries
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      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

            aborrow Anthony Borrow
            aborrow Anthony Borrow
            Petr Skoda Petr Skoda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.