madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20469: LJSUP-10170: Correct css in RTE (Can't l...

Committer: sbelyaev
LJSUP-10170: Correct css in RTE (Can't locate object method "event" via package "LJ::Entry")
U   trunk/htdocs/talkread.bml
Modified: trunk/htdocs/talkread.bml
===================================================================
--- trunk/htdocs/talkread.bml	2011-11-02 09:10:20 UTC (rev 20468)
+++ trunk/htdocs/talkread.bml	2011-11-02 11:29:58 UTC (rev 20469)
@@ -280,7 +280,11 @@
 
     my $multiform_selects = 0;  # are there select boxes?  don't show form if not.
 
-    my $event = $item->{'event'} || $entry->event;
+    my $event = $item->{'event'};
+    if ( !$event && $entry ) {
+        $event =  $entry->event;
+    }
+
     my $suspend_msg = $entry && $entry->should_show_suspend_msg_to($remote) ? 1 : 0;
     my $no_cut_expand = !$GET{cut_expand} && $GET{page} && $GET{page} > 1 ? 1 : 0;
     

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