madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r19977: LJSV-1286: Fixed problem with not self-c...

Committer: sbelyaev
LJSV-1286: Fixed problem with not self-clsosed lj-embed
U   trunk/cgi-bin/LJ/EmbedModule.pm
Modified: trunk/cgi-bin/LJ/EmbedModule.pm
===================================================================
--- trunk/cgi-bin/LJ/EmbedModule.pm	2011-09-07 03:35:15 UTC (rev 19976)
+++ trunk/cgi-bin/LJ/EmbedModule.pm	2011-09-07 06:16:02 UTC (rev 19977)
@@ -220,7 +220,7 @@
                 $embed_attrs{width} = ($attr->{width} > MAX_WIDTH ? MAX_WIDTH : $attr->{width}) if $attr->{width};
                 $embed_attrs{height} = ($attr->{height} > MAX_HEIGHT ? MAX_HEIGHT : $attr->{height}) if $attr->{height};
             } elsif ($tag eq 'lj-embed' && $type eq 'S' &&
-                     $attr->{'source_user'} && $attr->{'/'}) {
+                     $attr->{'source_user'}) {
 
                 my $u = LJ::load_user($attr->{'source_user'});
                 if ($u) {

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