afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-07-26 09:25 pm

[dw-free] Userpic in entry preview does not work when posting to a community

[commit: http://hg.dwscoalition.org/dw-free/rev/41c3e657d956]

http://bugs.dwscoalition.org/show_bug.cgi?id=1449

Fix userpic in entry preview in the site scheme for communities.

Patch by [personal profile] kaisa.

Files modified:
  • htdocs/preview/entry.bml
--------------------------------------------------------------------------------
diff -r 9f62bd3c2f96 -r 41c3e657d956 htdocs/preview/entry.bml
--- a/htdocs/preview/entry.bml	Sun Jul 26 21:13:32 2009 +0000
+++ b/htdocs/preview/entry.bml	Sun Jul 26 21:24:27 2009 +0000
@@ -108,7 +108,7 @@
             my $pic   = $upics->{'pic'}->{$picid};
 
             if ($pic) {
-                my $userpic = LJ::Userpic->new( $u, $picid );
+                my $userpic = LJ::Userpic->new( $up, $picid );
                 $ret .= "<td>" . $userpic->imgtag . "</td>";   
             }
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org