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

print_header_simple generates build_navigation warnings

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9
    • 1.9, 2.0
    • Libraries
    • None
    • MOODLE_19_STABLE
    • 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

            poltawski Dan Poltawski
            poltawski Dan Poltawski
            Nobody Nobody
            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:
              3/Mar/08