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

[livejournal] r21662: LJSUP-11421: Cliend-side development for...

Committer: amyshkin
LJSUP-11421: Cliend-side development for Trava.ru
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-04-06 08:05:56 UTC (rev 21661)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-04-06 08:14:23 UTC (rev 21662)
@@ -113,8 +113,9 @@
 sub should_show_trava {
     my ($self) = @_;
     return 0 unless LJ::Setting::Music::Trava->good_ip;
+
     my $me = $self->remote->prop('music_engine');
-    return ! $me or $me eq LJ::Setting::Music::Trava->pkgkey ? 1 : 0;
+    return ! $me || $me eq LJ::Setting::Music::Trava->pkgkey ? 1 : 0;
 }
 
 sub tabindex {

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