Use variable which is initialized to an empty string when not defined,
to avoid warnings.
Patch by kareila.
diffs (12 lines):
diff -r a3b3c0437d59 -r bddd722b57e1 cgi-bin/LJ/Talk.pm
--- a/cgi-bin/LJ/Talk.pm Mon Jan 24 14:42:12 2011 +0800
+++ b/cgi-bin/LJ/Talk.pm Mon Jan 24 14:44:27 2011 +0800
@@ -1729,7 +1729,7 @@ sub talkform {
my $cookieuser = defined $form->{cookieuser} ? $form->{cookieuser} :
'';
if ( $userpost ne $cookieuser && $usertype ne 'anonymous' ) {
- $ljuser_def = BML::eall( $form->{userpost} );
+ $ljuser_def = BML::eall( $userpost );
} else {
$ljuser_def = $remote->user;
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog