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-08-11 07:17 pm

[dw-free] Random Account Sponsorship/Paid Account Fairy

[commit: http://hg.dwscoalition.org/dw-free/rev/03bba48b203c]

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

Fix call to function.

Patch by [personal profile] afuna.

Files modified:
  • htdocs/shop/randomgift.bml
--------------------------------------------------------------------------------
diff -r 6aef6df13192 -r 03bba48b203c htdocs/shop/randomgift.bml
--- a/htdocs/shop/randomgift.bml	Tue Aug 11 19:13:05 2009 +0000
+++ b/htdocs/shop/randomgift.bml	Tue Aug 11 19:17:14 2009 +0000
@@ -42,7 +42,7 @@ body<=
         $ret .= "<p><strong>$ML{'.label.username'}</strong> " . $randomu->ljuser_display . "<br />";
         $ret .= "<strong>$ML{'.label.createdate'}</strong> " . LJ::mysql_time( $randomu->timecreate ) . "<br />";
         $ret .= "<strong>$ML{'.label.lastupdated'}</strong> " . substr( LJ::mysql_time( $randomu->timeupdate ), 0, 10 ) . "<br />";
-        $ret .= "<strong>$ML{'.label.numentries'}</strong> " . $randomu->number_of_posted_posts . "<br />";
+        $ret .= "<strong>$ML{'.label.numentries'}</strong> " . $randomu->number_of_posts . "<br />";
         $ret .= "<strong>$ML{'.label.numcomments'}</strong> " . $randomu->num_comments_posted . "<br />";
         $ret .= "<strong>$ML{'.label.numcommunities'}</strong> " . scalar $randomu->member_of_userids . "<br />";
         $ret .= "</p>";
--------------------------------------------------------------------------------