Correct check for existing value of $u->cut_inbox.
Patch by afuna.
diffs (12 lines):
diff -r faf4bf42a054 -r 2214f48f4e8f cgi-bin/DW/Setting/CutInbox.pm
--- a/cgi-bin/DW/Setting/CutInbox.pm Fri Jan 08 08:55:23 2010 -0600
+++ b/cgi-bin/DW/Setting/CutInbox.pm Fri Jan 08 10:21:11 2010 -0600
@@ -33,7 +33,7 @@ sub option {
my ( $class, $u, $errs, $args ) = @_;
my $key = $class->pkgkey;
- my $inbox_cut = $class->get_arg( $args, "cutinbox" ) || ( $u->cut_inbox ||
"" ) eq "Y";
+ my $inbox_cut = $class->get_arg( $args, "cutinbox" ) || $u->cut_inbox;
my $ret = LJ::html_check( {
name => "${key}cutinbox",
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog