Ticket #266: atomhandler.php.patch

File atomhandler.php.patch, 0.9 kB (added by dmondark, 7 months ago)

corrected the path, thanks Freakerz !

  • system/classes/atomhandler.php

     
    357357            $entry_title= $xml->addChild( 'title', $title ); 
    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' ); 
    363363            $entry_link->addAttribute( 'rel', 'alternate' ); 
     
    578578            $entry_link->addAttribute( 'href', URL::get( 'atom_entry', "slug={$post->slug}" ) ); 
    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 ); 
    584584