[Slashdotjp-dev 1055] [582] Fix: user karma_bonus settings are vanished...

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 4月 16日 (水) 16:33:52 JST


Revision: 582
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=582
Author:   tach
Date:     2008-04-16 16:33:52 +0900 (Wed, 16 Apr 2008)

Log Message:
-----------
Fix: user karma_bonus settings are vanished...

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


-------------- next part --------------
Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2008-04-16 06:32:23 UTC (rev 581)
+++ slashjp/trunk/debian/changelog	2008-04-16 07:33:52 UTC (rev 582)
@@ -2,8 +2,9 @@
 
   * New upstream CVS release
   * Allow to show AC info for admin user
+  * Fix: user karma_bonus settings are vanished...
 
- -- Taku YASUI <tach****@osdn*****>  Wed, 16 Apr 2008 06:31:19 +0000
+ -- Taku YASUI <tach****@osdn*****>  Wed, 16 Apr 2008 07:32:44 +0000
 
 slash (2.5.0.200-1) unstable; urgency=low
 

Modified: slashjp/trunk/themes/slashcode/htdocs/users.pl
===================================================================
--- slashjp/trunk/themes/slashcode/htdocs/users.pl	2008-04-16 06:32:23 UTC (rev 581)
+++ slashjp/trunk/themes/slashcode/htdocs/users.pl	2008-04-16 07:33:52 UTC (rev 582)
@@ -2224,6 +2224,7 @@
 			  60, 65, 70, 75, 80, 85, 90, 95 )], 
 			$user_edit->{new_user_percent} || 100, 1, 1);
 	# Karma modifier
+	$user_edit->{karma_bonus} = '+1' unless (defined($user_edit->{karma_bonus}));
 	my $karma_bonus = createSelect('karma_bonus', \@range, 
 			$user_edit->{karma_bonus} || 0, 1, 1);
 	# Subscriber modifier


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