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

user_get_user_details inconsistency => phone1 and phone 2 are displayed if the user has specific capabilities - not the others fields

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.4, 2.5, 2.6
    • Libraries
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE

      in user/lib.php, the function user_get_user_details() return phone1 and phone2 if a user has moodle/course:viewhiddenuserfields / moodle/user:viewhiddendetails capabilities. Address is also depending of them (but different coding way?). The other user fields do not depend of these capabilities.

      We need to check if it's normal that phone1/phone2/address have specific behavior.

            moodle.com Moodle HQ
            jerome Jérôme Mouneyrac
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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