Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r17248: LJSUP-6708 (The link Join to community s...

Committer: ailyin
LJSUP-6708 (The link Join to community shoudn't be disabled for identity accounts)
U   trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2010-09-01 09:33:27 UTC (rev 17247)
+++ trunk/htdocs/userinfo.bml	2010-09-01 10:03:07 UTC (rev 17248)
@@ -400,7 +400,7 @@
 
             $url = "$LJ::SITEROOT/community/join.bml?comm=$user";
             $text = $ML{'.optionlinks.joincomm'};
-            if ($comm_settings[0] eq "closed" || !$remote || $remote->is_identity || !$u->is_visible) {
+            if ($comm_settings[0] eq "closed" || !$remote || !$u->is_visible) {
                 $li_title = $comm_settings[0] eq "closed" ? $ML{'.optionlinks.joincomm.title.closed'} : $ML{'.optionlinks.joincomm.title.loggedout'};
                 $li_title = $ML{'.optionlinks.joincomm.title.cantjoin'} if $remote && $remote->is_identity;
                 $body .= "<li class='profile_join_disabled' title=\"$li_title\"><img src='$LJ::IMGPREFIX/profile_icons/join-comm-disabled.gif' alt='' />$text</li>";

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