Changeset 2441

Show
Ignore:
Timestamp:
09/04/08 22:23:39 (3 months ago)
Author:
dmondark
Message:

removing extra title addition and fixing the content addition in atomhandler::add_comments.

Files:
1 modified

Legend:

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

    r2435 r2441  
    212212            $item= $xml->addChild( 'entry' ); 
    213213            $title= $item->addChild( 'title', htmlspecialchars( sprintf( _t( '%1$s on "%2$s"' ), $comment->name, $comment->post->title ) ) ); 
    214             $title= $item->addChild( 'title', _t('Comment on ') . $title . _t(' by ') . $comment->name ); 
    215214 
    216215            $link= $item->addChild( 'link' ); 
     
    225224            $updated= $item->addChild( 'updated', date( 'c', strtotime( $comment->date ) ) ); 
    226225 
    227             $content= $item->addChild( 'content', $comment->content ); 
     226            $content= $item->addChild( 'content', $content ); 
    228227            $content->addAttribute( 'type', 'html' ); 
    229228            Plugins::act( 'atom_add_comment', $item, $comment );