wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r17408: LJSV-1099

Committer: gprochaev
LJSV-1099

U   trunk/htdocs/approve.bml
U   trunk/htdocs/approve.bml.text
Modified: trunk/htdocs/approve.bml
===================================================================
--- trunk/htdocs/approve.bml	2010-09-20 04:31:56 UTC (rev 17407)
+++ trunk/htdocs/approve.bml	2010-09-20 06:12:33 UTC (rev 17408)
@@ -89,7 +89,7 @@
         return LJ::bad_input($ML{'.error.internerr.invalidaction'}) unless $targetid;
 
         # add to community
-        my $user = LJ::load_userid($aa->{userid});
+        my $user = LJ::load_userid($targetid);
         return "<?h1 $ML{'Error'} h1?><?p ".LJ::Lang::ml('.error.approving', { username => $user->ljuser_display } )." p?>"
             unless LJ::approve_pending_member($aa->{userid}, $targetid);
 

Modified: trunk/htdocs/approve.bml.text
===================================================================
--- trunk/htdocs/approve.bml.text	2010-09-20 04:31:56 UTC (rev 17407)
+++ trunk/htdocs/approve.bml.text	2010-09-20 06:12:33 UTC (rev 17408)
@@ -14,7 +14,7 @@
 
 .error.actionperformed=This action has already been performed
 
-.error.approving=There was an error approving this request to join.<br/>Following user was not added: [[username]] because they emails are not validated
+.error.approving=There was an error approving this request to join.<br/>Following user was not added: [[username]] because they email are not validated
 
 .error.internerr.invalidaction=Internal error: invalid action
 

Tags: bml, livejournal, text, wisest-owl
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