Closed (fixed)
Project:
MySite
Version:
5.x-2.3
Component:
- Type plugin
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2007 at 22:23 UTC
Updated:
6 Aug 2007 at 18:09 UTC
I noticed this on http://www.diatribune.com/mysite.
If the default content set includes the Profile element, when the user creates their MySite page, that element is set with type_id of zero (0). The "Add My Profile" link only checks against the type_id of the user's UID, so I see the Add Profile link even though my profile is already on my page.
Double-check the logic for that link.
Comments
Comment #1
agentrickardWe base the profile data from the MySite UID, not the stores type_id, so this query changes:
To:
Committed to HEAD.
Comment #2
agentrickardI have the two lines reversed above. UID = %d is correct.
Comment #3
(not verified) commented