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

[livejournal] r21324: LJSUP-11479: incorrect converting "Video...

Committer: amyshkin
LJSUP-11479: incorrect converting "Video Placeholders" settings
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-03-07 13:14:38 UTC (rev 21323)
+++ trunk/cgi-bin/LJ/User.pm	2012-03-07 13:50:24 UTC (rev 21324)
@@ -4123,7 +4123,7 @@
 sub get_opt_videolinks {
     my $u = shift;
     my $opt = $u->raw_prop("opt_embedplaceholders") || "0:0";
-    $opt = "0:0" unless $opt || $opt eq 'N';
+    $opt = "0:0" if ! $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