Changeset 1559

Show
Ignore:
Timestamp:
04/23/08 00:40:58 (7 months ago)
Author:
freakerz
Message:

Fixing ticket #266.

Display author's display name rather than username in Atom feeds.

Thanks dmondark for the patch!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/system/classes/atomhandler.php

    r1464 r1559  
    358358 
    359359            $entry_author= $xml->addChild( 'author' ); 
    360             $author_name= $entry_author->addChild( 'name', $user->username ); 
     360            $author_name= $entry_author->addChild( 'name', $user->displayname ); 
    361361 
    362362            $entry_link= $xml->addChild( 'link' ); 
     
    579579 
    580580            $entry_author= $feed_entry->addChild( 'author' ); 
    581             $author_name= $entry_author->addChild( 'name', $user->username ); 
     581            $author_name= $entry_author->addChild( 'name', $user->displayname ); 
    582582 
    583583            $entry_id= $feed_entry->addChild( 'id', $post->guid );