Hush warning.
Patch by kareila.
diffs (13 lines):
diff -r 97837011e5e2 -r 4b6fedbcf117 cgi-bin/LJ/Poll.pm
--- a/cgi-bin/LJ/Poll.pm Wed Nov 24 19:34:01 2010 +0800
+++ b/cgi-bin/LJ/Poll.pm Wed Nov 24 19:34:56 2010 +0800
@@ -1437,6 +1437,9 @@ sub process_submission {
}
}
+ # if $val is still undef here, set it to empty string
+ $val = "" unless defined $val;
+
# see if the vote changed values
my $changed = 1;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog