Committer: sbelyaev
LJSUP-10139: ?\208?\161onversion of sticky posts is not implementedU trunk/cgi-bin/LJ/Customize.pm
Modified: trunk/cgi-bin/LJ/Customize.pm =================================================================== --- trunk/cgi-bin/LJ/Customize.pm 2011-10-26 11:55:08 UTC (rev 20437) +++ trunk/cgi-bin/LJ/Customize.pm 2011-10-26 12:19:27 UTC (rev 20438) @@ -544,6 +544,15 @@ $prop = S2::get_property($lyr_core->{'s2lid'}, $prop); next unless ref $prop; } + + if ($prop->{'name'} eq 'sticky_subject' || + $prop->{'name'} eq 'sticky_post' ) { + my $value = $class->get_s2_prop_values('sticky_post', $u, $style); + if (!$value) { + next; + } + } + $prop{$prop->{'name'}} = $prop; push @propnames, $prop->{'name'}; }