madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20498: LJSUP-10072: There is no sticky entry on...

Committer: sbelyaev
LJSUP-10072: There is no sticky entry on editjournal.bml page
U   trunk/htdocs/editjournal.bml
Modified: trunk/htdocs/editjournal.bml
===================================================================
--- trunk/htdocs/editjournal.bml	2011-11-08 12:53:08 UTC (rev 20497)
+++ trunk/htdocs/editjournal.bml	2011-11-08 13:31:03 UTC (rev 20498)
@@ -842,7 +842,10 @@
         
         ##
         $only_me_checked = 1 unless $remote->can_manage ($usejournal_u);
-        my $order = $usejournal_u->{'journaltype'} eq "C" || $usejournal_u->{'journaltype'} eq "Y";  # community or syndicated
+        my $order = 0;
+        if ($usejournal_u) {
+             $order = $usejournal_u->is_syndicated || $usejournal_u->is_community;  # community or syndicated
+        }
 
         my $delayed_entries;
 

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