vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r21221: LJSUP-11303: Thread Expander working inc...

Committer: vad
LJSUP-11303: Thread Expander working incorrectly when Expand Child
U   branches/r89/cgi-bin/LJ/Talk.pm
Modified: branches/r89/cgi-bin/LJ/Talk.pm
===================================================================
--- branches/r89/cgi-bin/LJ/Talk.pm	2012-02-20 13:03:52 UTC (rev 21220)
+++ branches/r89/cgi-bin/LJ/Talk.pm	2012-02-20 13:34:00 UTC (rev 21221)
@@ -1578,7 +1578,7 @@
     }
     
     my $thread = $opts->{'thread'}+0;
-    my $show_parents = $LJ::S1_FOLDED_PARENTS;
+    my $show_parents = int $opts->{'visible_parents'};
     if ($thread && $show_parents) {
         while (my $parent_thread = $posts->{$thread}->{'parenttalkid'}) {
             $children->{$parent_thread} = [ $thread ];

Tags: livejournal, pm, vad, vadvs
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