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

add contact in message/lib.php strict type checks an int against a string

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.2, 3.0
    • Fix Version/s: 2.8.9, 2.9.3
    • Component/s: Messages
    • Labels:

      Description

      add contact in message/lib.php strict type checks an int against a string to check if a user is blocked
      Results from pgsql recordset are strings, cant strict type check with an int

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Nov/15