[Slashdotjp-dev 863] [380] * Fix: subscriber_bonus should be enabled when Subscribe plugin has been

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2007年 12月 28日 (金) 01:59:57 JST


Revision: 380
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=380
Author:   tach
Date:     2007-12-28 01:59:57 +0900 (Fri, 28 Dec 2007)

Log Message:
-----------
 * Fix: subscriber_bonus should be enabled when Subscribe plugin has been
   insta****@users*****

Modified Paths:
--------------
    slashjp/trunk/debian/changelog
    slashjp/trunk/themes/slashcode/htdocs/users.pl


-------------- next part --------------
Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2007-12-27 11:37:09 UTC (rev 379)
+++ slashjp/trunk/debian/changelog	2007-12-27 16:59:57 UTC (rev 380)
@@ -4,8 +4,10 @@
     /usr/lib/perl5/Slash/Utility/Data.pm line 441
   * Add slash-install-tagbox command to run
     /usr/share/slash/bin/install-tagbox
+  * Fix: subscriber_bonus should be enabled when Subscribe plugin has been
+    insta****@users*****
 
- -- Taku YASUI <tach****@debia*****>  Thu, 27 Dec 2007 20:36:11 +0900
+ -- Taku YASUI <tach****@debia*****>  Fri, 28 Dec 2007 01:58:40 +0900
 
 slash (2.5.0.188-2) unstable; urgency=low
 

Modified: slashjp/trunk/themes/slashcode/htdocs/users.pl
===================================================================
--- slashjp/trunk/themes/slashcode/htdocs/users.pl	2007-12-27 11:37:09 UTC (rev 379)
+++ slashjp/trunk/themes/slashcode/htdocs/users.pl	2007-12-27 16:59:57 UTC (rev 380)
@@ -1237,7 +1237,7 @@
 		$comment->{points} += $user->{karma_bonus}
 			if defined($user->{karma_bonus}) && $comment->{karma_bonus} eq 'yes';
 		$comment->{points} += $user->{subscriber_bonus}
-			if defined($user->{subscriber_bonus}) && $comment->{subscriber_bonus} eq 'yes';
+			if $constants->{plugin}{Subscribe} && defined($user->{subscriber_bonus}) && $comment->{subscriber_bonus} eq 'yes';
 
 		# fix points in case they are out of bounds
 		$comment->{points} = $constants->{comment_minscore} if $comment->{points} < $constants->{comment_minscore};


Slashdotjp-dev メーリングリストの案内
Back to archive index