Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r17231: LJSV-1181 (Facebook user with validated ...

Committer: ailyin
LJSV-1181 (Facebook user with validated email can't delete comments)
U   trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2010-08-30 11:17:22 UTC (rev 17230)
+++ trunk/cgi-bin/LJ/S2.pm	2010-08-31 01:12:23 UTC (rev 17231)
@@ -3008,8 +3008,8 @@
     my ($ctx, $this, $key) = @_;
     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 $post_user = $page->{'entry'} ? $page->{'entry'}->{'poster'}->{'_u'}->{'user'} : undef;
+    my $com_user = $this->{'poster'} ? $this->{'poster'}->{'_u'}->{'user'} : undef;
     my $remote = LJ::get_remote();
     my $null_link = { '_type' => 'Link', '_isnull' => 1 };
     my $dtalkid = $this->{talkid};

Tags: andy, livejournal, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments