Posted by graouxx on August 31, 2009 at 12:49pm
4 followers
| Project: | Comment Login |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Issue Summary
Hello,
I'm using your module and have a problem with displayed name on comment.
If I post new comment with account name "test" for example, comment is created with user name : "test (not verified)"
This is due to comment module which compare uid from global variable $user and from post form.
And off course the post uid variable is empty.
so we need to feel it when user register.
I propose to add
<$form_state['values']['uid'] = $user->uid;
next
if ($user->uid) {
Comments
#1
Thanks! I've built a patch, maybe the module maintainer will accept it?
#2
This patch works as expected.
Thanks for submitting.
#3
Patch appears to be working for me as well. Bumping to reviewed & tested by the community and have rolled this into my patch on #1526254: Placing login form before comment form overwrites Username field, breaking the entire form