Changeset 999

Show
Ignore:
Timestamp:
01/05/07 07:49:35 (2 years ago)
Author:
fumiakiy
Message:

Changed where to fix the bug which prevented password recovery to be aligned with the fix in the other branch. BugId: 45415

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/wheeljack/lib/MT/App/CMS.pm

    r991 r999  
    636636    }); 
    637637 
    638     # column method needed for BasicAuthor 
    639     my $address = defined $author->column('nickname') 
     638    my $address = defined $author->nickname 
    640639        ? $author->nickname .' <'. $author->email .'>' 
    641640        : $author->email; 
  • branches/wheeljack/lib/MT/BasicAuthor.pm

    r717 r999  
    2121    primary_key => 'id', 
    2222}); 
     23 
     24sub nickname { 
     25    my $author = shift; 
     26    $author->name; 
     27} 
    2328 
    2429sub is_valid_password {