changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[livejournal] r18783: LJSV-1223: fix

Committer: emazin
LJSV-1223: fix
U   trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2011-04-04 08:14:37 UTC (rev 18782)
+++ trunk/htdocs/userinfo.bml	2011-04-04 08:18:09 UTC (rev 18783)
@@ -833,7 +833,7 @@
         }
     }
 
-    if (!$synd && $u->can_be_text_messaged_by($remote)) {
+    if (!$synd && $u->{'txtmsg_status'} eq 'on' && $u->can_be_text_messaged_by($remote)) {
         push @contacts, "<a href='$LJ::SITEROOT/tools/textmessage.bml?user=$u->{'user'}'>$ML{'.contact.txtmsg'}</a>";
     }
 

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