wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r23101: LJSUP-13887: Lj-cut works incorrectly wi...

Committer: wisest-owl
LJSUP-13887: Lj-cut works incorrectly with Video Placeholders

U   trunk/cgi-bin/LJ/Entry.pm
Modified: trunk/cgi-bin/LJ/Entry.pm
===================================================================
--- trunk/cgi-bin/LJ/Entry.pm	2012-10-11 06:30:25 UTC (rev 23100)
+++ trunk/cgi-bin/LJ/Entry.pm	2012-10-11 09:30:30 UTC (rev 23101)
@@ -936,7 +936,7 @@
     my $event = $self->{event};
     LJ::CleanHTML::clean_event(\$event, $opts);
 
-    LJ::expand_embedded($self->{u}, $self->ditemid, $remote, \$event, video_placeholders => $opts->{'video_placeholders'} );
+    LJ::expand_embedded($self->{u}, $self->ditemid, $remote, \$event, video_placeholders => $opts->{'not_expand_placeholders'} ? 1 : $opts->{'video_placeholders'} );
     return $event;
 }
 

Tags: livejournal, pm, wisest-owl
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