madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20438: LJSUP-10139: ?\208?\161onversion of stic...

Committer: sbelyaev
LJSUP-10139: ?\208?\161onversion of sticky posts is not implemented
U   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'};
     }

Tags: livejournal, madeon, pm, sbelyaev
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