Cleanup, to proactively defend against future issues. See bug for
details
Patch by kareila.
diffs (12 lines):
diff -r a38523a2c6b0 -r 24572485f1ef cgi-bin/DW/Hooks/EntryForm.pm
--- a/cgi-bin/DW/Hooks/EntryForm.pm Mon Jan 11 04:00:23 2010 +0000
+++ b/cgi-bin/DW/Hooks/EntryForm.pm Sun Jan 17 15:43:05 2010 +0000
@@ -30,7 +30,7 @@ LJ::Hooks::register_hook( 'entryforminfo
};
my $usejournal = $journal ? "?usejournal=$journal" : "";
- my $ju = LJ::load_user( $journal ) if $journal;
+ my $ju = $journal ? LJ::load_user( $journal ) : undef;
my $can_make_poll = 0;
$can_make_poll = $remote->can_create_polls if $remote;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog