Fix opt-out for random paid gifts so it saves properly.

        Patch by afuna. 

diffs (11 lines):

diff -r a13640b18653 -r 655264a6b777 cgi-bin/DW/Setting/RandomPaidGifts.pm
--- a/cgi-bin/DW/Setting/RandomPaidGifts.pm     Tue Aug 18 14:38:30 2009 +0000
+++ b/cgi-bin/DW/Setting/RandomPaidGifts.pm     Tue Aug 18 15:07:58 2009 +0000
@@ -54,7 +54,6 @@ sub option {
 
 sub save {
     my ( $class, $u, $args ) = @_;
-    $class->error_check( $u, $args );
 
     my $val = $class->get_arg( $args, "randompaidgifts" ) ? 'Y' : 'N';
     $u->set_prop( opt_randompaidgifts => $val );
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to