Closed (fixed)
Project:
Subscriptions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2012 at 06:04 UTC
Updated:
26 Sep 2012 at 16:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
rliused format_username to display the real name.
Comment #2
adammaloneComment #4
adammaloneTwo possible patches attached.
I guess the previous patch didn't work as it was applied in the sites directory to the downloaded module rather than to the one cloned from git. Cross fingers these patches pass tests!
Comment #5
adammaloneComment #6
salvisI agree that this needs to be fixed, thank you, but this turned out to be considerably more involved...
There were two additional places where we displayed unformatted user names:
1. in the node form (subscriptions_ui.module) for by-user subscriptions, and
2. in the Author column under user/%/subscriptions (for by-user subscriptions).
format_name() requires an $account, not a string! You haven't actually tried this out, have you?
The result of format_name() needs to be passed through check_plain() exactly once.
I've committed the necessary changes to the -dev version.
Comment #7
adammalonewow, complete fail to properly read the documentation by me! Thanks for patching correctly and informing me, I'd have been happy to patch myself if you hadn't have :)