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

Warning in report.php

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7
    • 1.7.3
    • Quiz
    • None
    • PHP 5.2
    • MOODLE_17_STABLE
    • MOODLE_17_STABLE

    Description

      Call-time pass-by-reference has been deprecated...
      Line 210, 530, 583 and 616 :
      calling functions print_row_stats_data and report_question_stats using reference causes a PHP 5.2 to generate this warning.

      The fact these function are using values by reference is correctly defined in the function definition.
      It is just enough to remove & (reference sign in the lines).

      See attached file.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            laot Serge LAOT
            Nobody Nobody
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Oct/07