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

print_header_simple generates build_navigation warnings

    XMLWordPrintable

    Details

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

      Description

      When used within a course, print_header_simple() generates build_navigation warnings if its used without navigation paramaters, as seen in require_login():

      print_header() was sent a string as 3rd (CourseEval -> ) parameter. This is deprecated in favour of an array built by build_navigation(). Please upgrade your code.
      line 2324 of lib/weblib.php: call to debugging()
      line 2765 of lib/weblib.php: call to print_header()
      line 1907 of lib/moodlelib.php: call to print_header_simple()
      line 42 of user/index.php: call to require_login()

        Attachments

          Activity

            People

            Assignee:
            poltawski Dan Poltawski
            Reporter:
            poltawski Dan Poltawski
            Tester:
            Nobody
            Participants:
            Component watchers:
            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:
              Fix Release Date:
              3/Mar/08