Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r18902: Restoring LJSUP-8080: Add "Only for Offi...

Committer: gariev
Restoring LJSUP-8080: Add "Only for Office" string to system message
U   trunk/cgi-bin/LJ/Widget/SiteMessages.pm
Modified: trunk/cgi-bin/LJ/Widget/SiteMessages.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/SiteMessages.pm	2011-04-18 09:34:04 UTC (rev 18901)
+++ trunk/cgi-bin/LJ/Widget/SiteMessages.pm	2011-04-18 10:08:30 UTC (rev 18902)
@@ -25,7 +25,7 @@
     ## <lj user> tags and lj-sys-message-close attributes
     LJ::CleanHTML::clean_event(\$text, { 'lj_sys_message_id' => $mid });
 
-    my $is_office = LJ::SiteMessages->has_mask($message->{accounts}) ? '<b>[Only for office]</b> ' : '';
+    my $is_office = LJ::SiteMessages->has_mask('OfficeOnly', $message->{accounts}) ? '<b>[Only for office]</b> ' : '';
 
     return 
         "<p class='b-message b-message-suggestion b-message-system'>" .

Tags: gariev, livejournal, pm
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