Use the method on the Comment object (created above), which abstracts
this away nicely.
Patch by fu.
diffs (12 lines):
diff -r 7c5fe5ec4f03 -r 5ef2e7002a9e htdocs/talkpost.bml
--- a/htdocs/talkpost.bml Sat Oct 30 14:27:20 2010 +0800
+++ b/htdocs/talkpost.bml Mon Nov 01 21:25:28 2010 +0800
@@ -232,7 +232,7 @@ body<=
my $userpic;
if ( $init->{replyto} ) {
- $userpic = LJ::Userpic->new_from_keyword( $ur, $pickw );
+ $userpic = $parentcomment->userpic;
} else {
$userpic = $entry->userpic;
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog