Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Instead of loading the user object for the user the profile is about, rdf_preprocess_user_profile loads the currently logged in user.
Will post a patch for this shortly.
Comment | File | Size | Author |
---|---|---|---|
#4 | rdf_userobject_711592_3.patch | 2.81 KB | linclark |
#1 | rdf_userobject_711592_1.patch | 2.83 KB | linclark |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedThis patch loads the user that the profile is about and fixes the test so that the logged in user isn't the one who's profile page is being looked at.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedforgot to mark for review
Comment #3
scor CreditAttribution: scor commentedwe actually don't need to do user_load() here because #account is already a fully-fledge user_load() object.
Powered by Dreditor.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #5
scor CreditAttribution: scor commentedokay. looks good now.
Comment #6
webchickOopsie. :)
Committed to HEAD. Thanks!