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

[livejournal] r21991: LJSUP-12186: Turn on trava.ru

Committer: amyshkin
LJSUP-12186: Turn on trava.ru
U   trunk/htdocs/manage/settings/index.bml
Modified: trunk/htdocs/manage/settings/index.bml
===================================================================
--- trunk/htdocs/manage/settings/index.bml	2012-05-18 10:04:19 UTC (rev 21990)
+++ trunk/htdocs/manage/settings/index.bml	2012-05-18 10:38:37 UTC (rev 21991)
@@ -156,7 +156,7 @@
                 LJ::Setting::WebmasterTools::Yandex
                 LJ::Setting::GiveFeatures
                 LJ::Setting::LJTimes),
-                $LJ::DISABLED{'trava'} || $u->is_community ? undef : 'LJ::Setting::Music',
+                $LJ::DISABLED{'trava'} || ( $u && $u->is_community ) ? undef : 'LJ::Setting::Music',
             ],
         },
     );

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