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

Warning in report.php

XMLWordPrintable

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

      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.

            timhunt Tim Hunt
            laot Serge LAOT (Inactive)
            Nobody Nobody (Inactive)
            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.