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

Add $extralocations in the function print_error

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6, 1.7, 1.8, 1.9
    • 1.9.3
    • Libraries
    • None
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      In print_error function use get_string for get string, and if you can use this function in Contributed Modules, you can need add $extralocation path. Can you add this param?

      My proposal:

      + line 5701: function print_error ($errorcode, $module='', $link='', $a=NULL, $extralocation=NULL) {

      + line 5729 $message = get_string($errorcode, $module, $a, $extralocation);

      Attachments

        Activity

          People

            skodak Petr Skoda
            tmas Toni Mas
            Tim Hunt Tim Hunt
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              15/Oct/08