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

Investigate in_array usage

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 3.11
    • General

      Investigate the usages and results of in_array in currently supported php versions.

      During a review of MDL-70967, it was identified that in_array throws up false +ves/-ves. It was suggested to review it's usages and confirm there are no hidden cases where this is failing and not being picked up. Refer to this comment

      Note: I've only included enrolments and 3.11 but this should be a core-wide check.

            stronk7 Eloy Lafuente (stronk7)
            peterdias Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.