Skip to content

Commit

Permalink
Fixed UID of comment author.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Butcher committed May 25, 2010
1 parent 86c966d commit ee9a775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bc2oa.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@

foreach ($item->end()->find('>comments>comment') as $comment) {
$tdcomment_aid = $comment->find('>author-id')->text();
$tdcomment_author = $userMap[$caid];
$tdcomment_author = $userMap[$tdcomment_aid];
$tdcomment_body = $comment->end()->find('>body')->text();
$tdcomment_subject = substr($tdcomment_body, 0, 32);
$tdcomment_date = @strtotime($comment->end()->find('>created-at:first')->text());
Expand Down

0 comments on commit ee9a775

Please sign in to comment.