[dw-free] OpenID accounts missing comment management options on customized comment pages
[commit: http://hg.dwscoalition.org/dw-free/rev/254e8f19e12d]
http://bugs.dwscoalition.org/show_bug.cgi?id=1158
Fix comment deletion link for openid users.
Patch by
yvi.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1158
Fix comment deletion link for openid users.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/LJ/S2.pm
-------------------------------------------------------------------------------- diff -r 69fa986aa326 -r 254e8f19e12d cgi-bin/LJ/S2.pm --- a/cgi-bin/LJ/S2.pm Sat Sep 12 09:54:57 2009 -0500 +++ b/cgi-bin/LJ/S2.pm Sat Sep 12 15:30:41 2009 +0000 @@ -2252,6 +2252,7 @@ sub UserLite $o = { '_type' => 'UserLite', '_u' => $u, + 'user' => LJ::ehtml($u->user), 'username' => LJ::ehtml($u->display_name), 'name' => LJ::ehtml($u->{'name'}), 'journal_type' => $u->{'journaltype'}, @@ -2905,7 +2906,7 @@ sub _Comment__get_link my $page = get_page(); my $u = $page->{'_u'}; my $post_user = $page->{'entry'} ? $page->{'entry'}->{'poster'}->{'username'} : undef; - my $com_user = $this->{'poster'} ? $this->{'poster'}->{'username'} : undef; + my $com_user = $this->{'poster'} ? $this->{'poster'}->{'user'} : undef; my $remote = LJ::get_remote(); my $null_link = { '_type' => 'Link', '_isnull' => 1 }; my $dtalkid = $this->{talkid}; --------------------------------------------------------------------------------