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

[livejournal] r17204: LJSUP-6575 (Need should replace all user...

Committer: ailyin
LJSUP-6575 (Need should replace all usernames with display names in Memorable Entries and Virtual Gifts)
U   trunk/htdocs/tools/memories.bml
Modified: trunk/htdocs/tools/memories.bml
===================================================================
--- trunk/htdocs/tools/memories.bml	2010-08-26 09:15:24 UTC (rev 17203)
+++ trunk/htdocs/tools/memories.bml	2010-08-26 09:16:41 UTC (rev 17204)
@@ -140,7 +140,7 @@
  }
 
  my %filters = ("all" => $ML{'.filter.all'},
-                "own" => BML::ml(".filter.own", { 'user' => $user }),
+                "own" => BML::ml(".filter.own", { 'user' => $u->display_name }),
                 "other" => $ML{'.filter.other'});
  my $filter = $GET{'filter'} || "all";
  unless (defined $filters{$filter}) { $filter = "all"; }
@@ -251,7 +251,7 @@
  }
 
  $title = $ML{'.title.memorable'};
- $body .= BML::ml(".body.list_categories", { 'user' => $u->display_username });
+ $body .= BML::ml(".body.list_categories", { 'user' => $u->ljuser_display });
 
  my $rows = LJ::Memories::get_keyword_counts($u, { security => $securities, filter => $filter });
  return $dberr->() unless defined $rows;

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