holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r11913: LJSUP-12104: Rename account page for use...

Committer: akanashin
LJSUP-12104: Rename account page for users without RF domens
U   trunk/cgi-bin/LJ/Pay/Payment/PayItem/RenameAction.pm
Modified: trunk/cgi-bin/LJ/Pay/Payment/PayItem/RenameAction.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/Payment/PayItem/RenameAction.pm	2012-05-10 11:24:04 UTC (rev 11912)
+++ trunk/cgi-bin/LJ/Pay/Payment/PayItem/RenameAction.pm	2012-05-10 11:27:06 UTC (rev 11913)
@@ -62,13 +62,13 @@
     }
 
     my ($source_uid, $dest_name, $opt_delfriends, $opt_delfriendofs, $opt_redir, $opt_domainru) = split(":", $self->{subitem});
-    unless (defined $source_uid and defined $dest_name and defined $opt_delfriends and defined $opt_delfriendofs and defined $opt_redir and defined $opt_domainru) {
+    unless (defined $source_uid and defined $dest_name and defined $opt_delfriends and defined $opt_delfriendofs and defined $opt_redir) {
         push @$errs_ref, 'malformed subitem in request'; # impossible message for non-hacker user
         return 0;
     }
 
     my %correct = ( 0 => 1, 1 => 1 );
-    unless ($correct{$opt_delfriends} and $correct{$opt_delfriendofs} and $correct{$opt_redir} and $correct{$opt_domainru}) {
+    unless ($correct{$opt_delfriends} and $correct{$opt_delfriendofs} and $correct{$opt_redir}) {
         push @$errs_ref, 'malformed subitem value in request'; # impossible message for non-hacker user
         return 0;
     }

Tags: akanashin, holyandrew, ljcom, 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