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

user_can_view_profile generates notices when $userid = 0

    XMLWordPrintable

    Details

    • Sprint:
      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

              • Assignee:
                ankit_frenz Ankit Agarwal
                Reporter:
                ankit_frenz Ankit Agarwal
                Peer reviewer:
                Simey Lameze
                Integrator:
                Andrew Nicols
                Tester:
                CiBoT
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Mar/17