ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[livejournal] r18176: LJSUP-5494: Re-registered first validate...

Committer: ssafronova
LJSUP-5494: Re-registered first validated email cannot remove newer email addresses - bugfix
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2011-02-01 08:52:58 UTC (rev 18175)
+++ trunk/cgi-bin/LJ/User.pm	2011-02-01 09:25:46 UTC (rev 18176)
@@ -2649,7 +2649,7 @@
     my $current = lc $u->email_raw;
     my $edge_age = $chains{$current}->{starting};
 
-    my $aim_value = $chains{lc $addr}->{starting};
+    my $aim_value = $chains{lc $addr->{email} }->{starting};
 
     return 0 unless defined $edge_age and $aim_value;
     return $aim_value > $edge_age;

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