Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r21115: LJSUP-10691: Image placeholders in comme...

Committer: amyshkin
LJSUP-10691: Image placeholders in comments
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-02-07 12:10:45 UTC (rev 21114)
+++ trunk/cgi-bin/LJ/User.pm	2012-02-07 12:17:52 UTC (rev 21115)
@@ -4113,7 +4113,7 @@
 sub get_opt_videolinks {
     my $u = shift;
     my $opt = $u->raw_prop("opt_embedplaceholders") || "0:0";
-    $opt = "0:0" unless $opt;
+    $opt = "0:0" unless $opt || $opt eq 'N';
     $opt = "1:0" unless $opt =~ /^\d\:\d$/;
     return $opt;
 }

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