Committer: amyshkin
LJSUP-11479: incorrect converting "Video Placeholders" settingsU 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; }