[dw-free] clean up error logs
[commit: http://hg.dwscoalition.org/dw-free/rev/40d459a3001c]
http://bugs.dwscoalition.org/show_bug.cgi?id=2812
Make clear the default, to avoid warnings in the logs. No change in actual
behavior.
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2812
Make clear the default, to avoid warnings in the logs. No change in actual
behavior.
Patch by
Files modified:
- cgi-bin/DW/Setting/RandomPaidGifts.pm
--------------------------------------------------------------------------------
diff -r 374caf99bd84 -r 40d459a3001c cgi-bin/DW/Setting/RandomPaidGifts.pm
--- a/cgi-bin/DW/Setting/RandomPaidGifts.pm Sat Aug 28 14:06:42 2010 +0800
+++ b/cgi-bin/DW/Setting/RandomPaidGifts.pm Sat Aug 28 14:08:48 2010 +0800
@@ -36,7 +36,7 @@ sub option {
my ( $class, $u, $errs, $args ) = @_;
my $key = $class->pkgkey;
- my $randompaidgifts = $class->get_arg( $args, "randompaidgifts" ) || $u->prop( "opt_randompaidgifts" );
+ my $randompaidgifts = $class->get_arg( $args, "randompaidgifts" ) || $u->prop( "opt_randompaidgifts" ) || 'Y';
my $ret = LJ::html_check({
name => "${key}randompaidgifts",
--------------------------------------------------------------------------------
