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

user_can_view_profile generates notices when $userid = 0

    XMLWordPrintable

Details

    • 3.3 on-sync, 3.3 sprint 4

    Description

      As reported by Dan on MDL-56526

      user_can_view_profile() can generate notices when $userid = 0. This happens because $sharedcourses becomes false.

      Attachments

        Issue Links

          Activity

            People

              ankit_frenz Ankit Agarwal
              ankit_frenz Ankit Agarwal
              Simey Lameze Simey Lameze
              Andrew Lyons Andrew Lyons
              CiBoT CiBoT
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Mar/17